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

Enable colocated component classes to be TypeScript #333

Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 17, 2019

Prior to this, we only looked for *.js files as the "backing class" and would actually create a .js file right next to the existing .ts file. This leads to a whole host of bugs for TypeScript users. :(

This updates the logic to look for .js file first then fall back to .ts files.

Address part of #308

Prior to this, we only looked for `*.js` files as the "backing class"
and would actually create a `.js` file right next to the existing `.ts`
file. This leads to a whole host of bugs for TypeScript users. :(

This updates the logic to look for `.js` file first then fall back to
`.ts` files.
@rwjblue rwjblue added the bug label Oct 17, 2019
@rwjblue rwjblue merged commit 33c3f74 into ember-cli:master Oct 17, 2019
@rwjblue rwjblue deleted the allow-ts-backing-component-classes branch October 17, 2019 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant