9cdbb7248b
* add new error + suggestions * push down assert defined * remove comment * fix esm module import detection, update baselines * add and update new tests * fix review comments * remove renamed baseline references * update node modules test baselines * fix error message, add new tests * update old tests with new error message
6 lines
173 B
Plaintext
6 lines
173 B
Plaintext
=== /src/bar.cts ===
|
|
// Extensionless relative path cjs import in a cjs module
|
|
import foo = require("./foo"); // should error, should not ask for extension
|
|
>foo : any
|
|
|