2.0.6 • Published 6 months ago
@types/webpack-blocks__typescript v2.0.6
Installation
npm install --save @types/webpack-blocks__typescript
Summary
This package contains type definitions for @webpack-blocks/typescript (https://github.com/andywer/webpack-blocks/tree/master/packages/typescript).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-blocks__typescript.
index.d.ts
// Type definitions for @webpack-blocks/typescript 2.0
// Project: https://github.com/andywer/webpack-blocks/tree/master/packages/typescript
// Definitions by: Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
import { Block } from 'webpack-blocks';
declare namespace typescript {
type CustomTransformersFunction = (program: any) => any;
interface BabelOptions {
babelrc?: boolean | undefined;
presets?: string[][] | Array<Array<{ targets?: string | undefined, modules?: boolean | undefined }>> | undefined;
}
interface Options {
silent?: boolean | undefined;
compiler?: string | undefined;
useTranspileModule?: boolean | undefined;
instance?: string | undefined;
configFileName?: string | undefined;
transpileOnly?: boolean | undefined;
errorsAsWarnings?: boolean | undefined;
forceIsolatedModules?: boolean | undefined;
ignoreDiagnostics?: number[] | undefined;
useBabel?: boolean | undefined;
babelOptions?: BabelOptions | undefined;
babelCore?: string | undefined;
useCache?: boolean | undefined;
usePrecompiledFiles?: boolean | undefined;
cacheDirectory?: string | undefined;
reportFiles?: string[] | undefined;
getCustomTransformers?: string | CustomTransformersFunction | undefined;
}
}
declare function typescript(options?: typescript.Options): Block;
export = typescript;
Additional Details
- Last updated: Fri, 02 Jul 2021 18:05:24 GMT
- Dependencies: @types/webpack-blocks
- Global values: none
Credits
These definitions were written by Max Boguslavskiy.