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

Variable with Decorator @LocalStorage() has Observable data type #84

Open
rafiq-ahmed-1 opened this issue Feb 26, 2020 · 0 comments
Open

Comments

@rafiq-ahmed-1
Copy link

rafiq-ahmed-1 commented Feb 26, 2020

I have created a variable on a component level in a following manner below

@LocalStorage() token: string = "hello!";

When I am accessing it in a method, it has type Observable. Please see below

Observable
_isScalar: false
source: Observable {_isScalar: false, source: Observable, operator: CatchOperator}
operator: FinallyOperator {callback: ƒ}
proto: Object

ngx-store version: "ngx-store": "^2.1.0"
angular version : "@angular/core": "~8.2.14"

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

1 participant