Skip to content

Commit 4415f7c

Browse files
committed
add comment explaining preload.d.ts addition
1 parent b53cfff commit 4415f7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/transpile/module-resolution.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ describe("module resolution should not try to resolve modules in noResolvePaths"
470470
export function foo(): void;
471471
}`
472472
)
473+
// TS 6.0 noUncheckedSideEffectImports requires declaration for "preload" module
473474
.addExtraFile("preload.d.ts", `declare module "preload" {}`)
474475
.setOptions({ noResolvePaths: ["ignore*"] })
475476
.expectToHaveNoDiagnostics()

0 commit comments

Comments
 (0)