mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Ember Data Adapter: export default AdapterError
The current types use a named export
```
import { AdapterError } from '@ember-data/adapter/error';
```
compared to what is documented
```
// documented
import AdapterError from '@ember-data/adapter/error';
```
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [ ] Add or edit tests to reflect the change. (Run with `npm test`.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: <
|
||
|---|---|---|
| .. | ||
| test | ||
| error.d.ts | ||
| index.d.ts | ||
| json-api.d.ts | ||
| OTHER_FILES.txt | ||
| rest.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||