cannot find namespace ‘firebase’

I was having this issue after trying to follow the instructions at https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md

cannot find namespace 'firebase'

After reading http://stackoverflow.com/questions/39118836/angularfire2-cannot-find-namespace-firebase I added

[code]

"types": [ "jasmine", "firebase" ] [/code]

to src/tsconfig.json and fired up ng serve and the issue was gone.

Update

When I moved to a Windows environment I discovered the same issue, but the above did not work. Working through the various reports I discovered that the following in src\app\app.module.ts resolved the issue before

import { AngularFireModule } from 'angularfire2';

after

import { AngularFireModule } from 'angularfire2';
import * as firebase from 'firebase'

This works for angular-cli version

angular-cli: 1.0.0-beta.15
node: 6.6.0
os: win32 x64

It would appear that a future update would resolve this issue fix(imports).

Loading Google+ Comments ...