summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-17 15:50:28 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-17 15:50:28 -0700
commit39bb1317ed7d33700bf88e5d559da3b43c5ca845 (patch)
tree2035a976ed028812608cc617e2c3bac5c72ade67
parent7d51950981170b0f394af73a1f8cd2f375c7afa3 (diff)
Try to get browser's tests to see typescript-types
-rw-r--r--packages/browser/tsconfig.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/browser/tsconfig.json b/packages/browser/tsconfig.json
index 4b2c29e..d751c5c 100644
--- a/packages/browser/tsconfig.json
+++ b/packages/browser/tsconfig.json
@@ -15,6 +15,12 @@
"removeComments": true,
"sourceMap": false,
"noEmit": true,
+ "typeRoots": [
+ "./node_modules/@types",
+ // TODO: Why can't `npm run test` find these types?
+ "./node_modules/@simplewebauthn/typescript-types/npm/types",
+ "../../node_modules/@types",
+ ]
},
"include": [
"./src/**/*.ts"