-
Notifications
You must be signed in to change notification settings - Fork 2.2k
-
Hi,
I am new for AngularFire v7.
I would like to try angularFire emulator.
But is there any documentation emulators for v7?
https://github.com/angular/angularfire/blob/master/docs/emulators/emulators.md
I tried 'compat', but it returns error like below:
Error: node_modules/@angular/fire/compat/proxy.d.ts:20:96 - error TS2344: Type 'T[K]' does not satisfy the constraint '(...args: any) => any'.
Type 'T[PromiseReturningFunctionPropertyNames<T>]' is not assignable to type '(...args: any) => any'.
Type 'T[ReturnType<T[FunctionPropertyNames<T>]> extends Promise<any> ? FunctionPropertyNames<T> : never]' is not assignable to type '(...args: any) => any'.
Type 'T[FunctionPropertyNames<T>]' is not assignable to type '(...args: any) => any'.
20 [K in PromiseReturningFunctionPropertyNames<T>]: (...args: Parameters<T[K]>) => ReturnType<T[K]>;
My versions are below:
Angular CLI: 13.1.2
Node: 12.20.2
Package Manager: npm 8.3.0
OS: darwin x64
Angular: 13.1.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, platform-browser-dynamic, router
... service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1301.2
@angular-devkit/build-angular 13.1.2
@angular-devkit/core 13.1.2
@angular-devkit/schematics 13.1.2
@angular/cli 13.1.2
@angular/fire 7.2.0
@schematics/angular 13.1.2
rxjs 6.6.7
typescript 4.5.4
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hi, add this line in tsconfig.json > "angularCompilerOptions"
"skipLibCheck": true
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment