UNPKG

extension-develop

Version:
37 lines (36 loc) 1.24 kB
import { type DevOptions } from '../../../develop-lib/config-types'; export declare function isUsingTypeScript(projectPath: string): boolean; export declare function defaultTypeScriptConfig(projectPath: string, _opts?: any): { compilerOptions: { allowJs: boolean; allowSyntheticDefaultImports: boolean; esModuleInterop: boolean; forceConsistentCasingInFileNames: boolean; jsx: string; lib: string[]; moduleResolution: string; module: string; resolveJsonModule: boolean; strict: boolean; target: string; isolatedModules: boolean; skipLibCheck: boolean; }; exclude: string[]; }; export declare function getUserTypeScriptConfigFile(projectPath: string): string | undefined; export declare function getTypeScriptConfigOverrides(opts: { mode: DevOptions['mode']; }): { compilerOptions: { sourceMap: boolean; skipLibCheck: boolean; inlineSourceMap: boolean; declarationMap: boolean; noEmit: boolean; incremental: boolean; tsBuildInfoFile: string; }; exclude: string[]; }; export declare function maybeUseTypeScript(projectPath: string): Promise<boolean>;