Skip to content
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

Import type definitions from @types/ember__test-helpers #452

Merged
merged 4 commits into from
Nov 7, 2018

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 1, 2018

This PR imports the type definitions from the @types/ember__test-helpers npm package, and applies them to our own TypeScript files.

Further cleanup of those types will happen in follow-up PRs.

@jamescdavis
Copy link

Can we tighten up and standardize Context to extend TestContext from the ember-test-helpers typedefs?:

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f8721b6253475d6f8267a9cc16c5bde6089314c6/types/ember-test-helpers/index.d.ts#L36-L63

@Turbo87
Copy link
Member Author

Turbo87 commented Nov 2, 2018

Yeah, I have something like this already in a follow up commit that is not part of this PR

@Turbo87
Copy link
Member Author

Turbo87 commented Nov 5, 2018

@rwjblue any thoughts on this PR?

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me, sorry for the delay in reviewing.

@Turbo87 Turbo87 merged commit a6aae8a into emberjs:master Nov 7, 2018
@Turbo87 Turbo87 deleted the import-defs branch November 7, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants