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

Fix test units: error TS2339: Property 'Reference' does not exist on type 'typeof database'. #467

Closed
katowulf opened this issue Aug 24, 2016 · 1 comment
Milestone

Comments

@katowulf
Copy link
Contributor

Per PR #447, Getting this error with the following test lines: error TS2339: Property 'Reference' does not exist on type 'typeof database'.

In the sake of getting bug fixes out for release, I've commented them for now. Someone with some typescript chops should help me determine why they won't pass and enable these tests.

katowulf added a commit to katowulf/angularfire2 that referenced this issue Aug 24, 2016
…created to address this.

Commented test units to correct `error TS2339`; bug angular#467 created to address this.
@davideast davideast added this to the beta.5 milestone Aug 24, 2016
@katowulf
Copy link
Contributor Author

David and I reviewed this yesterday and ensured I have the latest typescript@next installed and that I'm not "doing anything [obvious] wrong". Still can't determine why firebase.database.Reference generates this error in tests (it's used elsewhere in the product with no issue)

davideast pushed a commit that referenced this issue Sep 19, 2016
* feat(FirebaseObjectObservable, FirebaseArrayObservable): Add $ref to observables

Makes the firebase.database.Reference used to create the observable public so that it can be used for accessing child records and paths relative to this collection/object.

This closes #294

* Locked zone.js to 0.6.12 per bug angular/zone.js#404, bug #468 created to address this.
Commented test units to correct `error TS2339`; bug #467 created to address this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants