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

A class member cannot be declared optional. #250

Closed
rahmanusta opened this issue Jun 20, 2016 · 6 comments
Closed

A class member cannot be declared optional. #250

rahmanusta opened this issue Jun 20, 2016 · 6 comments

Comments

@rahmanusta
Copy link

Hello, when using webpack, I'm getting the following exceptions

ERROR in C:\Users\usta\Downloads\angular2\node_modules\angularfire2\utils\firebase_object_observable.d.ts
(6,17): error TS1112: A class member cannot be declared optional.

ERROR in C:\Users\usta\Downloads\angular2\node_modules\angularfire2\providers\auth.d.ts
(12,20): error TS1112: A class member cannot be declared optional.

@jeffbcross
Copy link
Contributor

Thanks, this is due to us building with the latest dev version of TypeScript instead of stable. We should be able to switch back to stable, since I don't think we're using any features of 1.9 anymore.

@rahmanusta
Copy link
Author

Thank you @jeffbcross, also could you please upgrade Angular version rc1 to rc2?

Thanks

@jeffbcross
Copy link
Contributor

Thank you @jeffbcross, also could you please upgrade Angular version rc1 to rc2?

Yep already in the works.

jeffbcross added a commit to jeffbcross/angularfire2 that referenced this issue Jun 21, 2016
@rahmanusta
Copy link
Author

Thank you guy, for the update. but it still uses angular 2 rc1 instead of rc2. FYI

@davideast
Copy link
Member

@rahmanusta What Jeff means is that we are working on upgrading the library and it will be ready soon.

@rahmanusta
Copy link
Author

Ah Thank you @davideast. Have an easy work. I'm planning to use it my Angular 2 training :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants