Skip to content

Commit 0cea56e

Browse files
authored
Update global-patches.ts
1 parent 5e1ba1d commit 0cea56e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/global-patches.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ export const goog = {
111111
ui,
112112
asserts: {
113113
assert() { },
114-
assertObject() {}
114+
assertObject() {},
115+
fail(er) { throw new Error(er) }
115116
},
116117
userAgent: {
117118
IPAD: navigator.userAgent.includes('iPad'),

0 commit comments

Comments
 (0)