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

Typescript incompatible type when using NgForage as storage #29

Closed
owi1972 opened this issue Feb 3, 2018 · 1 comment
Closed

Typescript incompatible type when using NgForage as storage #29

owi1972 opened this issue Feb 3, 2018 · 1 comment
Labels

Comments

@owi1972
Copy link

owi1972 commented Feb 3, 2018

I try to use NgForage as a storage engine in Anguar 5
import { NgForage, NgForageModule} from ngforage/ngforage-ng5;
But I get a Typescript incompatible type error - any hints how to fix this?

@owi1972
Copy link
Author

owi1972 commented Feb 3, 2018

Do not use ngforage, just import
import localForage = require("localforage");

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

No branches or pull requests

2 participants