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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions docs/1-install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ Now that you have a new project setup, install AngularFire 2 and Firebase from n

### 3. Include Firebase SDK typings

In your `tsconfig.json` file include the following line in your `"files"` array:

```json
"files": [
"node_modules/angularfire2/firebase3.d.ts"
]
```bash
typings install file:node_modules/angularfire2/firebase3.d.ts --save --global && typings install
```

This is a temporary step until the Firebase typings are published to npm.
This saves the typings reference into `typings.json` and installs it.

Note: for typings < 1, use the `--ambient` flag instead of `--global`.

### 4. Include AngularFire 2 and Firebase in the vendor files

Expand Down