-
Notifications
You must be signed in to change notification settings - Fork 18
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
isFileSaverSupported() An accessor cannot be declared in an ambient context. #23
Comments
@hennychen Pls upgrade typescript to |
Unfortunately in my case I am unable to update typescript version. Is there any other solution or is it possible to support older versions of typescript? |
@f1nch try using |
@cipchk |
Still the same error is encountered:
|
Still the same error is encountered . tell me how to use this for angular 6 ? |
ERROR in ../node_modules/ngx-filesaver/src/filesaver.service.d.ts:3:9 - error TS1086: An accessor cannot be declared in an ambient context.
3 get isFileSaverSupported(): boolean;
The text was updated successfully, but these errors were encountered: