ts-checker-rspack-plugin
Version:
Runs typescript type checker and linter on separate process.
16 lines (15 loc) • 752 B
TypeScript
type TypeScriptGoPackage = 'typescript' | 'preview';
type TypeScriptGoPackageJson = {
name?: string;
version?: string;
bin?: string | Record<string, string>;
};
type ResolvedTypeScriptGoPackage = {
packageJsonPath: string;
tsgoPackage: TypeScriptGoPackage;
};
declare function readTsgoPackageJson(packageJsonPath: string): TypeScriptGoPackageJson;
declare function getTsgoPackage(packageJson: TypeScriptGoPackageJson): TypeScriptGoPackage | undefined;
declare function resolveTypeScriptGoPackage(packageJsonPath: string): ResolvedTypeScriptGoPackage | undefined;
export { getTsgoPackage, readTsgoPackageJson, resolveTypeScriptGoPackage, };
export type { ResolvedTypeScriptGoPackage, TypeScriptGoPackage, TypeScriptGoPackageJson, };