Skip to content

Commit

Permalink
Fix Firestore compile (#5869)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jan 7, 2022
1 parent 26b197f commit f873ad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"build": "rollup -c",
"build:deps": "lerna run --scope @firebase/util --include-dependencies build",
"dev": "rollup -c -w",
"prettier": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"test": "run-p lint test:all",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:all": "run-p test:browser test:node",
Expand Down Expand Up @@ -57,4 +58,4 @@
],
"reportDir": "./coverage/node"
}
}
}
2 changes: 1 addition & 1 deletion packages/util/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface ErrorData {
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error#Custom_Error_Types
export class FirebaseError extends Error {
/** The custom name for all FirebaseErrors. */
readonly name = ERROR_NAME;
readonly name: string = ERROR_NAME;

constructor(
/** The error code for this error. */
Expand Down

0 comments on commit f873ad4

Please sign in to comment.