From 956b76d01c59a04eb83f3b0b2ca722798af80fb2 Mon Sep 17 00:00:00 2001 From: Arthur Vivian Date: Thu, 16 Dec 2021 19:31:46 +0000 Subject: [PATCH] Add offscreencanvas types --- package.json | 1 + tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 18f0564..48e0498 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsconfig.json b/tsconfig.json index f8db4bc..a96c7ce 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "noUnusedLocals": true, "noUnusedParameters": true, "outDir": "./dist", - "types": ["node", "jest"], + "types": ["node", "jest", "offscreencanvas"], "rootDir": "src", "strict": true, "target": "es5",