summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-11-19 10:40:01 -0500
committerGitHub <noreply@github.com>2022-11-19 10:40:01 -0500
commita57134de38b0609eb485975e6cc47b83dfc5f302 (patch)
treeed2fb145106a21a2586ffe4ca547a9f719d6f966 /cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts
parent7ab08130a06850f7d30bca8088799926f03e2a84 (diff)
fix(npm): handle directory resolution when resolving declaration files (#16706)
Also fixes resolving specifiers like `./something.generated` in declaration files. Closes #16695
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts')
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts b/cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts
index 673c0035e..bfb0483c2 100644
--- a/cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts
+++ b/cli/tests/testdata/npm/registry/@denotest/check-error/1.0.0/index.d.ts
@@ -4,3 +4,7 @@ export class Class1 extends Class2 {
export class Class2 extends Class1 {
}
+
+// these should be fine though
+export { subDir } from "./sub_dir";
+export { otherDir } from "./other_dir";