From 2bf7014756a0c73f7fd9e362d5d0b15e9a246b2c Mon Sep 17 00:00:00 2001 From: Feiyang1 Date: Wed, 27 Oct 2021 13:10:26 -0700 Subject: [PATCH 1/2] add an empty typings file to firebase --- packages/firebase/empty.d.ts | 1 + packages/firebase/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/firebase/empty.d.ts diff --git a/packages/firebase/empty.d.ts b/packages/firebase/empty.d.ts new file mode 100644 index 00000000000..8cec2e9ced0 --- /dev/null +++ b/packages/firebase/empty.d.ts @@ -0,0 +1 @@ +export {}; \ No newline at end of file diff --git a/packages/firebase/package.json b/packages/firebase/package.json index 9c90a5a242e..8f4dd7414a7 100644 --- a/packages/firebase/package.json +++ b/packages/firebase/package.json @@ -274,5 +274,6 @@ "messaging", "messaging/sw", "database" - ] + ], + "typings": "empty.d.ts" } From c05512021e32d4b3cd4f3e7af9cf60e4eb215644 Mon Sep 17 00:00:00 2001 From: Feiyang1 Date: Wed, 27 Oct 2021 13:16:11 -0700 Subject: [PATCH 2/2] formatting --- packages/firebase/empty.d.ts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packages/firebase/empty.d.ts b/packages/firebase/empty.d.ts index 8cec2e9ced0..f62abbdc0aa 100644 --- a/packages/firebase/empty.d.ts +++ b/packages/firebase/empty.d.ts @@ -1 +1,18 @@ -export {}; \ No newline at end of file +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export {};