Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Typings main.d.ts not referenced in tsconfig.json? #244

Closed
andreialecu opened this issue Jan 22, 2016 · 3 comments
Closed

Typings main.d.ts not referenced in tsconfig.json? #244

andreialecu opened this issue Jan 22, 2016 · 3 comments

Comments

@andreialecu
Copy link
Contributor

Was this switched to use typings recently?

I got a lot of errors during the typescript compilation step until I added "./typings/main.d.ts" to "filesGlob" and/or "files" in tsconfig.json

Shouldn't it be there or is there something else wrong in my environment?

@abdulhaq-e
Copy link
Contributor

Same here. Perhaps it is due to an update of the typescript compiler because I've only noticed this recently, now, anything not included in filesGlob will not be add to files in tsconfig.json. So tsconfig.json that is currently in the repo will not be the same after compilation because L13 will be deleted.

@andreialecu
Copy link
Contributor Author

If you're using Atom, I think it overwrites the "files" section on every save. So it needs to be in "filesGlob" as well.

andreialecu added a commit to andreialecu/angular2-webpack-starter that referenced this issue Jan 23, 2016
@andreialecu
Copy link
Contributor Author

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants