@-xun/common-dummies
Version:
A collection of dummy projects, packages, and other testable structures
10 lines • 365 B
TypeScript
import type { AbsolutePath } from '@-xun/fs';
/**
* A type representing the name of an available dummy file containing various
* imports.
*/
export type ImportFileName = 'cjs' | 'cts' | 'js' | 'jsx' | 'mjs' | 'mts' | 'ts' | 'tsx';
/**
* Return a path to an importable dummy file.
*/
export declare function getDummyImportPath(id: ImportFileName): AbsolutePath;