UNPKG

svelte-preprocess

Version:

A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors

12 lines (11 loc) 398 B
import ts from 'typescript'; import type { Transformer, Options } from '../types'; export declare function loadTsconfig(fallback: { options: ts.CompilerOptions; errors: ts.Diagnostic[]; }, filename: string, tsOptions: Options.Typescript): { options: ts.CompilerOptions; errors: ts.Diagnostic[]; }; declare const transformer: Transformer<Options.Typescript>; export { transformer };