Skip to content

Commit

Permalink
Update README for new import
Browse files Browse the repository at this point in the history
  • Loading branch information
lflo5727 committed Oct 4, 2023
1 parent 92c685b commit 8a23b39
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ Available imports:
import fetch, { Headers, Request, Response, AbortController } from 'ember-fetch';
```

### Use with TypeScript
To use `ember-fetch` with TypeScript or enable editor's type support, You can add `"fetch": ["node_modules/ember-fetch"]` to your `tsconfig.json`.

```json
{
"compilerOptions": {
"paths": {
"fetch": [
"node_modules/ember-fetch"
]
}
}
}
```

### Use with Ember Data

[email protected] was released with built-in fetch support, if your ember-data is below 3.9.2, please checkout [ember-fetch v7.x](https://github.com/ember-cli/ember-fetch/tree/v7.x).
Expand Down

0 comments on commit 8a23b39

Please sign in to comment.