Skip to content

Use octokit type directly#662

Merged
styfle merged 3 commits intostyfle:mainfrom
foolmoron:github-type
Oct 4, 2022
Merged

Use octokit type directly#662
styfle merged 3 commits intostyfle:mainfrom
foolmoron:github-type

Conversation

@foolmoron
Copy link
Copy Markdown
Contributor

Also found you can use the type directly here to make things much more maintainable and avoid a bunch of anys

Testing

  • yarn build passed type-checking

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 4, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @styfle on Vercel.

@styfle first needs to authorize it.

Comment thread utils/github.ts Outdated
foolmoron and others added 2 commits October 4, 2022 19:18
Co-authored-by: Steven <steven@ceriously.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Oct 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
styfle.dev ✅ Ready (Inspect) Visit Preview Oct 4, 2022 at 11:43PM (UTC)

Comment thread yarn.lock
dependencies:
"@octokit/openapi-types" "^13.11.0"

"@octokit/types@^6.0.3", "@octokit/types@^6.16.1":
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kinda strange the types were already here. I bet theres a way to import the type from the existing package

@styfle styfle merged commit 9f7fcad into styfle:main Oct 4, 2022
@foolmoron foolmoron deleted the github-type branch October 5, 2022 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants