Skip to content

Commit

Permalink
fix: correct import statement in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jun 14, 2019
1 parent 1212737 commit dc72ce8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Load <code>@octokit/request-error</code> directly from <a href="https://unpkg.co

```html
<script type="module">
import { request } from "https://unpkg.com/@octokit/request-error";
import { RequestError } from "https://cdn.pika.dev/@octokit/request-error";
</script>
```

Expand All @@ -29,8 +29,8 @@ Node
Install with <code>npm install @octokit/request-error</code>

```js
const { request } = require("@octokit/request-error");
// or: import { request } from "@octokit/request-error";
const { RequestError } = require("@octokit/request-error");
// or: import { RequestError } from "@octokit/request-error";
```

</td></tr>
Expand Down

0 comments on commit dc72ce8

Please sign in to comment.