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 e9df2c2 commit bf5053bCopy full SHA for bf5053b
packages/react-form-with-constraints/src/assert.ts
@@ -4,6 +4,9 @@ export function assert(condition: boolean, message?: string): asserts condition
4
// Use compiler option '--downlevelIteration' to allow iterating of iterators.
5
//console.assert(...arguments);
6
7
- if (message === undefined) console.assert(condition);
8
- else console.assert(condition, message);
+ if (message === undefined) {
+ console.assert(condition);
9
+ } else {
10
+ console.assert(condition, message);
11
+ }
12
}
0 commit comments