mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
//// [tests/cases/conformance/externalModules/moduleResolutionWithoutExtension2.ts] ////
|
|
|
|
//// [buzz.mts]
|
|
// Extensionless relative path cjs import in an ES module
|
|
import foo = require("./foo"); // should error, should not ask for extension
|
|
|
|
//// [buzz.mjs]
|
|
export {};
|