Skip to content

Commit

Permalink
docs(README): fix keyboard shortcut to trigger IntelliSense
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Oct 11, 2021
1 parent c852077 commit bc82323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ For example, to get types for all of github.com's REST API endpoints, use `@octo
import { endpoint } from "@octokit-next/endpoint";

endpoint("");
// Set cursor in the route argument and press `Ctrl + Enter` to get a type ahead for all 700+ REST API endpoints
// Set cursor in the route argument and press `Ctrl + Space` to get a type ahead for all 700+ REST API endpoints

const requestOptions = endpoint("GET /orgs/{org}/repos", { org: "octokit" });
// requestOptions.method is now typed as `"GET"` instead of `string`
Expand All @@ -431,7 +431,7 @@ endpoint("", {
version: "ghes-3.0",
},
});
// Set cursor in the route argument and press `Ctrl + Enter` to get a type ahead for all GHES 3.0 REST API endpoints
// Set cursor in the route argument and press `Ctrl + Space` to get a type ahead for all GHES 3.0 REST API endpoints

const requestOptions = endpoint("GET /admin/users/{username}", {
request: {
Expand Down Expand Up @@ -460,7 +460,7 @@ const ghes30endpoint = endpoint.withDefaults({
});

endpoint("");
// Set cursor in the route argument and press `Ctrl + Enter` to get a type ahead for all GHES 3.0 REST API endpoints
// Set cursor in the route argument and press `Ctrl + Space` to get a type ahead for all GHES 3.0 REST API endpoints
```

If you need your script to work across github.com and a minimal GitHub Enterprise Server version, you can use any of the `@octokit-next/types-rest-api-ghes-*-compatible` packages.
Expand All @@ -477,7 +477,7 @@ const ghes30endpoint = endpoint.withDefaults({
});

endpoint("");
// Set cursor in the route argument and press `Ctrl + Enter` to get a type ahead for all REST API endpoints
// Set cursor in the route argument and press `Ctrl + Space` to get a type ahead for all REST API endpoints
// that exist in both github.com and GitHub Enterprise Server 3.0
```

Expand Down

0 comments on commit bc82323

Please sign in to comment.