Add offscreencanvas types

This commit is contained in:
Arthur Vivian
2021-12-16 19:31:46 +00:00
committed by Arthur Vivian
parent 2517efaebd
commit 956b76d01c
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^27.0.3",
"@types/offscreencanvas": "^2019.6.4",
"@types/react": "^17.0.9",
"@types/testing-library__jest-dom": "^5.9.5",
"@typescript-eslint/eslint-plugin": "^5.7.0",

View File

@@ -11,7 +11,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "./dist",
"types": ["node", "jest"],
"types": ["node", "jest", "offscreencanvas"],
"rootDir": "src",
"strict": true,
"target": "es5",