Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit b3e212f

Browse files
author
Brendan Ingham
committed
Allows functions.d.ts to be committed, and dissallows index.d.ts to be committed.
1 parent 0ad81c7 commit b3e212f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ src/platforms/android/include.gradle
2323
!src/platforms/web/typings/firebase-webapi.d.ts
2424
!src/platforms/ios/typings/*.d.ts
2525
!src/platforms/android/typings/**/*.d.ts
26-
!src/functions/index.d.ts
26+
!src/functions/functions.d.ts
2727
!src/scripts/*.js
2828
!demo/karma.conf.js
2929
demo/*.d.ts

src/functions/functions.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export declare type HttpsCallable<I, O> = ( callableData: I ) => Promise<O>;
2+
export declare function httpsCallable<I = {}, O = {}>(functionName: string): HttpsCallable<I, O>;

0 commit comments

Comments
 (0)