Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Any AngularFire Emulator for NEW Modular SDK(v7) documents? #3099

Unanswered
tocie asked this question in Q&A
Discussion options

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
You must be logged in to vote

Replies: 1 comment

Comment options

Hi, add this line in tsconfig.json > "angularCompilerOptions"
"skipLibCheck": true

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /