summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-27 17:54:46 -0400
committerGitHub <noreply@github.com>2022-10-27 17:54:46 -0400
commita4d4acd1aff3f6213d43d921624d69195c379744 (patch)
tree9c3dd94821e36c59d97aea666d5dd4c3aa6823ef /cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts
parent1376c6932f6357a38fa3d3d0f134951f3890964a (diff)
chore(npm): add explicit tests for `module.exports` assignment with type checking (#16435)
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts')
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts b/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts
new file mode 100644
index 000000000..a7b50005e
--- /dev/null
+++ b/cli/tests/testdata/npm/registry/@denotest/cjs-module-export-assignment/1.0.0/index.d.ts
@@ -0,0 +1,5 @@
+declare module ThisModule {
+ function func(): 5;
+}
+
+export = ThisModule;