import type webpack from 'webpack'; import ts from 'typescript'; /** * Loader options which can be provided via webpack configuration * or a specific request query string */ export interface ITypeScriptLoaderOptions { /** * Keys to override in the `compilerOptions` section of the * `tsconfig.json` file. */ compilerOptions?: Record; /** * Turn persistent caching on/off. * * @default true unless `transformers` is provided. */ cache?: boolean; /** * Absolute path of an existing directory to use for persistent cache. * * @default uses `find-cache-dir` to search for caching path. */ cacheDirectoryPath?: string; /** * Path to `tsconfig.json` file. * Specifying it will skip config lookup */ configFilePath?: string; /** * Name of config file to search for when looking up config. * * @default 'tsconfig.json' */ configFileName?: string; /** * Should loader search for config. * Loader will search for the closest tsconfig file to the root context, and load it. * * @default true */ configLookup?: boolean; /** * Custom transformers to use when transpiling a module. * * @default undefined */ transformers?: ts.CustomTransformers; } export declare const typescriptLoader: webpack.LoaderDefinition; //# sourceMappingURL=typescript-loader.d.ts.map