diff options
Diffstat (limited to 'tests/specs/check/npm_pkg_empty_main_entry/index.ts')
-rw-r--r-- | tests/specs/check/npm_pkg_empty_main_entry/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/check/npm_pkg_empty_main_entry/index.ts b/tests/specs/check/npm_pkg_empty_main_entry/index.ts new file mode 100644 index 000000000..45966c024 --- /dev/null +++ b/tests/specs/check/npm_pkg_empty_main_entry/index.ts @@ -0,0 +1,5 @@ +// this package has an empty "main" entry in its package.json for both the package and @types/package +import { add } from "package"; + +const result: string = add(1, 2); +console.log(result); |