mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
447 B
TypeScript
15 lines
447 B
TypeScript
//// [tests/cases/conformance/node/allowJs/nodeModulesAllowJsExportlessJsModuleDetectionAuto.ts] ////
|
|
|
|
//// [foo.cjs]
|
|
// this file is a module despite having no imports
|
|
//// [bar.js]
|
|
// however this file is _not_ a module
|
|
|
|
//// [foo.cjs]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
// this file is a module despite having no imports
|
|
//// [bar.js]
|
|
"use strict";
|
|
// however this file is _not_ a module
|