-
Notifications
You must be signed in to change notification settings - Fork 429
sync next with master #2893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync next with master #2893
Changes from all commits
cca1cab
a0e31ec
eb90d15
4180a41
9c2842f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |||||
| "format": "prettier --write \"**/*.{js,md,yml,ts,json,yaml}\"", | ||||||
| "lint": "prettier --list-different \"**/*.{js,md,yml,ts,json,yaml}\"", | ||||||
| "clean": "lerna run --parallel clean && lerna clean", | ||||||
| "build": "lerna run build", | ||||||
| "build": "lerna run --sort build", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
| "local:emulator": "cd _emulator && firebase emulators:start -P demo-test", | ||||||
| "test": "cd _emulator && firebase emulators:exec jest -P demo-test", | ||||||
| "test:ci": "cd _emulator && firebase emulators:exec \"CI_TEST=true jest --detectOpenHandles --verbose --forceExit\" -P demo-test", | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
anyas a type assertion disables TypeScript's type safety checks. Since the response from a callable function has a known expected structure (containing either aresult.dataordataproperty), we can use a more specific type assertion to maintain type safety while still allowing the underlying data to be of any type.