Skip to content

Commit 39c812a

Browse files
authored
fix(README): usage example (#205)
TypeScript example import is not using the package name.
1 parent d2b626f commit 39c812a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Parameter and response types for all endpoint methods exported as `{ RestEndpoin
5757
Example
5858

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

6262
type UpdateLabelParameters = RestEndpointMethodTypes["issues"]["updateLabel"]["parameters"];
6363
type UpdateLabelResponse = RestEndpointMethodTypes["issues"]["updateLabel"]["response"];

0 commit comments

Comments
 (0)