Commit 9caf8d6
authored
without ES2022.RegExp, `npm install` will fail due to RegExpIndicesArray
not being present in the ES2018 lib.
Specifically:
```sh
$ npm install
> [email protected] prepublish
> npm run build
> [email protected] build
> rm -rf dist && tsc && cp -r lib/refs dist && rm dist/refs/json-schema-2019-09/index.ts && rm dist/refs/json-schema-2020-12/index.ts && rm dist/refs/jtd-schema.ts
node_modules/re2/re2.d.ts:11:15 - error TS2304: Cannot find name 'RegExpIndicesArray'.
11 indices?: RegExpIndicesArray;
~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/re2/re2.d.ts:11
```
1 parent 2065350 commit 9caf8d6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments