UNPKG

@bleed-believer/path-alias

Version:
16 lines (15 loc) 530 B
import type { TsConfigJson, TsConfigResult } from 'get-tsconfig'; import type { Options as SwcOptions } from '@swc/core'; export declare class TsConfig { #private; get cwd(): string; get path(): string; get config(): TsConfigJson; get outDir(): string; get rootDir(): string; get baseUrl(): string; static load(searchPath?: string, filename?: string): TsConfig; constructor(result: TsConfigResult); toSwcConfig(): SwcOptions; resolveAll(moduleName: string, dist?: boolean): string[]; }