mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
294 B
Plaintext
8 lines
294 B
Plaintext
//// [tests/cases/conformance/externalModules/moduleResolutionWithoutExtension7.ts] ////
|
|
|
|
=== /src/bar.cts ===
|
|
// Extensionless relative path cjs import in a cjs module
|
|
import foo = require("./foo"); // should error, should not ask for extension
|
|
>foo : Symbol(foo, Decl(bar.cts, 0, 0))
|
|
|