Skip to content

Update typings installation instructions. #317

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

Merged
merged 2 commits into from
Jul 15, 2016
Merged

Update typings installation instructions. #317

merged 2 commits into from
Jul 15, 2016

Conversation

filoxo
Copy link
Contributor

@filoxo filoxo commented Jul 1, 2016

This minor update instructs users to install the firebase3 typings file into typings.json instead of into tsconfig.js. I believe that this method is better because some projects use the "excludes" property in tsconfig (I encountered this in an Ionic v2 setup), which is mutually exclusive to the "files" property.

The "files" property cannot be used in conjunction with the "exclude" property 1

If users do not know this, they can inadvertently begin including files that they had been meaning to exclude. Otherwise they might think they have to refactor their globbing pattern to use with "files" instead of "exclude", which isn't necessary if the typings are left out of tsconfig.

I shared this solution on issue #234 (comment) and it seems to have worked for other people as well.

@paulogr
Copy link

paulogr commented Jul 1, 2016

Save my day !

@davideast
Copy link
Collaborator

@filoxo Works great for me! Thanks for the PR!

@davideast davideast merged commit d7c82eb into angular:master Jul 15, 2016
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.

4 participants