mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
341 B
TypeScript
10 lines
341 B
TypeScript
//// [tests/cases/conformance/externalModules/moduleResolutionWithoutExtension7.ts] ////
|
|
|
|
//// [bar.cts]
|
|
// Extensionless relative path cjs import in a cjs module
|
|
import foo = require("./foo"); // should error, should not ask for extension
|
|
|
|
//// [bar.cjs]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|