We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6c8fc commit 6dc858eCopy full SHA for 6dc858e
src/index.d.ts
@@ -14,6 +14,8 @@
14
* limitations under the License.
15
*/
16
17
+import {Bucket} from '@google-cloud/storage';
18
+
19
declare namespace admin {
20
interface FirebaseError {
21
code: string;
@@ -396,10 +398,11 @@ declare namespace admin.messaging {
396
398
declare namespace admin.storage {
397
399
interface Storage {
400
app: admin.app.App;
- bucket(name?: string): any;
401
+ bucket(name?: string): Bucket;
402
}
403
404
405
declare module 'firebase-admin' {
- export = admin;
406
407
408
+export = admin;
0 commit comments