diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-11-07 06:53:37 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 06:53:37 +1100 |
commit | 4f67f0cc6033983540ed51f1270fb420cac45487 (patch) | |
tree | 6e62ed5357396014d938866c39c4ed6fc792d4f3 /cli/tests/module_graph | |
parent | 280ab920a8129248f536d4a49b53d5c71ba340f1 (diff) |
fix(cli): properly handle type checking root modules with type defini⦠(#8263)
Diffstat (limited to 'cli/tests/module_graph')
-rw-r--r-- | cli/tests/module_graph/file_typesref.d.ts | 1 | ||||
-rw-r--r-- | cli/tests/module_graph/file_typesref.js | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/module_graph/file_typesref.d.ts b/cli/tests/module_graph/file_typesref.d.ts new file mode 100644 index 000000000..8ae31dde3 --- /dev/null +++ b/cli/tests/module_graph/file_typesref.d.ts @@ -0,0 +1 @@ +export const a: "a"; diff --git a/cli/tests/module_graph/file_typesref.js b/cli/tests/module_graph/file_typesref.js new file mode 100644 index 000000000..79da24cae --- /dev/null +++ b/cli/tests/module_graph/file_typesref.js @@ -0,0 +1,3 @@ +/// <reference types="./typesref.d.ts" /> + +export const a = "a"; |