Skip to content

Commit da96fa4

Browse files
committed
build: add dom libs to tsconfig so it can build
1 parent 97322bb commit da96fa4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@octokit/request": "^9.0.0",
2727
"@octokit/tsconfig": "^3.0.0",
2828
"@octokit/types": "^12.0.0",
29-
"@types/fetch-mock": "^7.3.1",
29+
"@types/fetch-mock": "^7.3.8",
3030
"@types/jest": "^29.0.0",
3131
"esbuild": "^0.20.0",
3232
"fetch-mock": "npm:@gr2m/[email protected]",

test/tsconfig.test.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"emitDeclarationOnly": false,
55
"noEmit": true
66
},
7-
"include": ["src/**/*"]
7+
"include": ["test/**/*"]
88
}

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "@octokit/tsconfig",
33
"compilerOptions": {
4+
"lib": ["es2023", "dom", "dom.iterable"],
45
"esModuleInterop": true,
56
"declaration": true,
67
"outDir": "pkg/dist-types",

0 commit comments

Comments
 (0)