summaryrefslogtreecommitdiff
path: root/tests/type_definitions
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-09-11 12:47:34 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-09-11 06:47:34 -0400
commita4e1d7d2e750831a1891b9267c8585a3e90083af (patch)
treedb08f3c0973846b347edca361a9d6656a4345484 /tests/type_definitions
parentdf5b6cdd7ff6ca3ee1814e5911fdae67b8b4fc60 (diff)
fix: type directives import (#2910)
Diffstat (limited to 'tests/type_definitions')
-rw-r--r--tests/type_definitions/fizz.d.ts2
-rw-r--r--tests/type_definitions/fizz.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/type_definitions/fizz.d.ts b/tests/type_definitions/fizz.d.ts
new file mode 100644
index 000000000..4b087efb7
--- /dev/null
+++ b/tests/type_definitions/fizz.d.ts
@@ -0,0 +1,2 @@
+/** An exported value. */
+export const fizz: string;
diff --git a/tests/type_definitions/fizz.js b/tests/type_definitions/fizz.js
new file mode 100644
index 000000000..5141a4ddf
--- /dev/null
+++ b/tests/type_definitions/fizz.js
@@ -0,0 +1 @@
+export const fizz = "fizz";