summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/extract-dom-types.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-16 18:27:12 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-16 18:27:12 -0700
commit89407366c8f85de7c18f82b2170b9f37eb01cc1a (patch)
treed7d7ed3be212d529592b7f11b739e260dcd69edc /packages/typescript-types/extract-dom-types.ts
parentb1292edc00635b2850337c4a7a56b422f16d9f12 (diff)
Document some insights in extract-dom-types
Diffstat (limited to 'packages/typescript-types/extract-dom-types.ts')
-rw-r--r--packages/typescript-types/extract-dom-types.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/typescript-types/extract-dom-types.ts b/packages/typescript-types/extract-dom-types.ts
index 36072e6..8db8db7 100644
--- a/packages/typescript-types/extract-dom-types.ts
+++ b/packages/typescript-types/extract-dom-types.ts
@@ -1,3 +1,9 @@
+/**
+ * The VS Code Deno extension will yell about the imports of 'ts-morph' and 'typescript', but
+ * we're still using npm to run this file so that it uses Lerna's Typescript as defined in the
+ * package.json in the root of the monorepo. This is why `npm run build` here will run this file
+ * before finally building the package using dnt.
+ */
// n.b. ts-morph is a sibling devDependency of typescript, so that the module
// loader will resolve our project's typescript package, not the transient
// dependency of ts-morph. We only want to reference our typescript dependency