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 87fef34 commit c251444Copy full SHA for c251444
packages/firestore/scripts/remove-asserts.ts
@@ -64,7 +64,7 @@ class RemoveAsserts {
64
) {
65
const method = declaration.name!.text;
66
if (method === 'debugAssert') {
67
- updatedNode = ts.createEmptyStatement();
+ updatedNode = ts.createOmittedExpression();
68
} else if (method === 'hardAssert') {
69
// Remove the log message but keep the assertion
70
updatedNode = ts.createCall(
0 commit comments