svelte-preprocess
Version:
A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors
12 lines (11 loc) • 392 B
TypeScript
import ts from 'typescript';
import type { Transformer, Options } from '../types';
export declare function loadTsconfig(compilerOptionsJSON: any, filename: string, tsOptions: Options.Typescript): {
errors: never[];
options: any;
} | {
errors: ts.Diagnostic[];
options: ts.CompilerOptions;
};
declare const transformer: Transformer<Options.Typescript>;
export { transformer };