Closed
Description
I recently updated firebase-functions and all fire base related packages, but I got an error : An accessor cannot be declared in an ambient context.
when I tried to build my project.
before this update my project run and deployed successfully to firebase, no any other modification made.
error details:
> tsc -p firebase/tsconfig.json
node_modules/firebase-functions/lib/apps.d.ts(26,13): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/apps.d.ts(33,21): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(53,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(66,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(100,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(114,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(121,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(128,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(137,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(150,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(159,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/function-builder.d.ts(165,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/firebase-functions/lib/handler-builder.d.ts(15,9): error TS1086: An accessor cannot be declared in an ambient context.
Metadata
Metadata
Assignees
Labels
No labels