0

I'm following Adding File to Azure Storage Blob from Angular to save files on azure storage but im getting following error when i run serve command.

node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts(40,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/@azure/abort-controller/types/src/AbortSignal.d.ts(46,16): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/@azure/core-paging/types/3.1/core-paging.d.ts(28,13): error TS2339: Property 'asyncIterator' does not exist on type 'SymbolConstructor'.
node_modules/@azure/core-paging/types/3.1/core-paging.d.ts(32,43): error TS2304: Cannot find name 'AsyncIterableIterator'.```

My Angular version is "@angular/cli": "~7.3.5" And "@azure/storage-blob": "^12.3.0".
Thanks in advance

1 Answer 1

0

You need to target esnext for Symbol.asyncIterator to work. Check this answer for more information.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.