Skip to content

Commit

Permalink
fix(README): usage example (#205)
Browse files Browse the repository at this point in the history
TypeScript example import is not using the package name.
  • Loading branch information
eladchen authored Aug 25, 2020
1 parent d2b626f commit 39c812a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Parameter and response types for all endpoint methods exported as `{ RestEndpoin
Example

```ts
import { RestEndpointMethodTypes } from "@octokit/rest-endpoint-methods";
import { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods";

type UpdateLabelParameters = RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"];
type UpdateLabelResponse = RestEndpointMethodTypes["issues"]["updateLabel"]["response"];
Expand Down

0 comments on commit 39c812a

Please sign in to comment.