-
-
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
4 changed files
with
39 additions
and
0 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 |
---|---|---|
|
@@ -51,6 +51,9 @@ To use `ember-fetch` with TypeScript or enable editor's type support, You can ad | |
``` | ||
|
||
### Use with Ember Data | ||
|
||
> [email protected] was released with built-in fetch support, this mixin is no longer needed and will be removed in next major bump. | ||
To have Ember Data utilize `fetch` instead of jQuery.ajax to make calls to your backend, extend your project's `application` adapter with the `adapter-fetch` mixin. | ||
|
||
```js | ||
|
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
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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
declare module "@ember/debug" { | ||
// tslint:disable-next-line:strict-export-declare-modifiers | ||
interface DeprecationOptions { | ||
id: string; | ||
until: string; | ||
url?: string; | ||
} | ||
|
||
/** | ||
* Display a deprecation warning with the provided message and a stack trace | ||
* (Chrome and Firefox only). | ||
*/ | ||
export function deprecate( | ||
message: string, | ||
test: boolean, | ||
options: DeprecationOptions | ||
): any; | ||
} |