Skip to content

Commit 4b7c866

Browse files
committed
Fix build
1 parent 6f382a9 commit 4b7c866

2 files changed

Lines changed: 22 additions & 18 deletions

File tree

tests/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-ignore
12
import {Browser, Page, launch, JSHandle} from "puppeteer"
23
import * as path from "path"
34
import * as url from "url"

tsconfig.json

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"ES2021",
5-
"DOM"
6-
],
7-
"strict": true,
8-
"module": "Node16",
9-
"target": "ES2021",
10-
"esModuleInterop": true,
11-
"sourceMap": true,
12-
"rootDir": "src",
13-
"outDir": "dist/js",
14-
"noEmitOnError": true,
15-
"skipLibCheck": true,
16-
"typeRoots": [
17-
"node_modules/@types"
18-
]
19-
}
2+
"compilerOptions": {
3+
"lib": [
4+
"ES2021",
5+
"DOM"
6+
],
7+
"strict": true,
8+
"module": "ES2022",
9+
"target": "ES2022",
10+
"esModuleInterop": true,
11+
"sourceMap": true,
12+
"rootDir": "src",
13+
"outDir": "dist/js",
14+
"noEmitOnError": true,
15+
"skipLibCheck": true,
16+
"typeRoots": [
17+
"node_modules/@types"
18+
]
19+
},
20+
"include": [
21+
"src/**/*.ts"
22+
]
2023
}

0 commit comments

Comments
 (0)