-
Notifications
You must be signed in to change notification settings - Fork 99
[@types/ember bug] - set() is not the same as this.set() #308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
1 task done
nightire opened this issue
Sep 15, 2018
· 2 comments
· Fixed by DefinitelyTyped/DefinitelyTyped#28915
Closed
1 task done
[@types/ember bug] - set() is not the same as this.set() #308
nightire opened this issue
Sep 15, 2018
· 2 comments
· Fixed by DefinitelyTyped/DefinitelyTyped#28915
Labels
Comments
get()
is not the same as this.get()
get()
is not the same as this.get()
mike-north
added a commit
to mike-north/DefinitelyTyped
that referenced
this issue
Sep 15, 2018
Fixes typed-ember/ember-cli-typescript#308 Workaround due to breaking change microsoft/TypeScript#26120 Would much much cleaner if this was fixed: microsoft/TypeScript#27014
mike-north
added a commit
to mike-north/DefinitelyTyped
that referenced
this issue
Sep 15, 2018
- Fixes typed-ember/ember-cli-typescript#308 - Workaround due to breaking change microsoft/TypeScript#26120 - Would much much cleaner w/ a fix for microsoft/TypeScript#27014
9 tasks
Fix is ready for merge here DefinitelyTyped/DefinitelyTyped#28915 New |
RyanCavanaugh
pushed a commit
to DefinitelyTyped/DefinitelyTyped
that referenced
this issue
Sep 17, 2018
- [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.) - [x] Add or edit tests to reflect the change. (Run with `npm test`.) - [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request). - [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes). - [x] 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: https://www.emberjs.com/api/ember/3.4/functions/@ember%2Fobject/set - [x] Increase the version number in the header if appropriate. - [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`. --- - Fixes typed-ember/ember-cli-typescript#308 - Workaround due to breaking change microsoft/TypeScript#26120 - Would much much cleaner w/ a fix for microsoft/TypeScript#27014
Released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which package(s) does this problem pertain to?
What are instructions we can follow to reproduce the issue?
Now about that bug. What did you expect to see?
It is expected to has no errors.
What happened instead?
Typescript throws an error:
Note
name: any
instead ofname: string
, error will be gonethis.set
instead ofset()
, error will be goneThe text was updated successfully, but these errors were encountered: