Skip to content

Migration Guide or updated and extended version of a typescript example #1969

Closed Answered by wolfy1339
jimjaeger asked this question in Q&A
Discussion options

You must be logged in to vote

What types were you using before? The method of getting those types hasn't changed in Octokit

import type { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
type ChecksUpdateParams = RestEndpointMethodTypes["checks"]["update"]["parameters"];

const input: ChecksUpdateParams = {
    // Add parameters here
};
const conclusion: ChecksUpdateParams['conclusion'] = "success";

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jimjaeger
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@wolfy1339
Comment options

@jimjaeger
Comment options

@wolfy1339
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants