-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
|