Commit 4f3126c
committed
Fix Js.String.match_ return type
Javscript String.prototype.match function can
return undefineds for optional capture groups
that are not found, which breaks the type annotations
since this is not added as a Js.nullable, it's not
possible to deal with those undefined values since
it can't be passed to Js.Nullable.isNullable.1 parent d5d46b3 commit 4f3126c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments