@nestjs/cli
Version:
Nest - modern, fast, powerful node.js web framework (@cli)
11 lines (10 loc) • 577 B
TypeScript
import * as ts from 'typescript';
/**
* Returns `true` when the consuming project uses an ESM-style module
* resolution strategy (`node16` / `nodenext`). Under those resolution
* modes, dynamic `import()` specifiers MUST include the file extension
* (typically `.js`) for the runtime resolver to find the module. Without
* the extension, executing the generated metadata file fails with
* `ERR_MODULE_NOT_FOUND`, and TypeScript reports a diagnostic.
*/
export declare function requiresExplicitImportExtensions(options: ts.CompilerOptions, tsBinary: typeof ts): boolean;