UNPKG

@codification/cutwater-build-typescript

Version:

Tasks for compiling and linting TypeScript.

109 lines 3.21 kB
import { GulpTask, Spawn, SpawnOptions } from '@codification/cutwater-build-core'; export interface TscOptions { allowJs: boolean; allowSyntheticDefaultImports: boolean; allowUmdGlobalAccess: boolean; allowUnreachableCode: boolean; allowUnusedLabels: boolean; alwaysStrict: boolean; assumeChangesOnlyAffectDirectDependencies: boolean; baseUrl: string; build: boolean; charset: string; checkJs: boolean; composite: boolean; declaration: boolean; declarationDir: string; declarationMap: boolean; diagnostics: boolean; disableSizeLimit: boolean; downlevelIteration: boolean; emitBOM: boolean; emitDeclarationOnly: boolean; emitDecoratorMetadata: boolean; esModuleInterop: boolean; experimentalDecorators: boolean; extendedDiagnostics: boolean; forceConsistentCasingInFileNames: boolean; generateCpuProfile: string; help: boolean; importHelpers: boolean; incremental: boolean; inlineSourceMap: boolean; inlineSources: boolean; init: boolean; isolatedModules: boolean; jsx: string; jsxFactory: string; jsxFragmentFactory: string; keyofStringsOnly: boolean; lib: string[]; listEmittedFiles: boolean; listFiles: boolean; locale: string; mapRoot: string; maxNodeModuleJsDepth: number; module: string; moduleResolution: string; newLine: string; noEmit: boolean; noEmitHelpers: boolean; noEmitOnError: boolean; noErrorTruncation: boolean; noFallthroughCasesInSwitch: boolean; noImplicitAny: boolean; noImplicitReturns: boolean; noImplicitThis: boolean; noImplicitUseStrict: boolean; noLib: boolean; noResolve: boolean; noStrictGenericChecks: boolean; noUnusedLocals: boolean; noUnusedParameters: boolean; outDir: string; outFile: string; paths: Record<string, unknown>; preserveConstEnums: boolean; preserveSymlinks: boolean; preserveWatchOutput: boolean; pretty: boolean; project: string; reactNamespace: string; removeComments: boolean; resolveJsonModule: boolean; rootDir: string; rootDirs: string[]; showConfig: boolean; skipDefaultLibCheck: boolean; skipLibCheck: boolean; sourceMap: boolean; sourceRoot: string; strict: boolean; strictBindCallApply: boolean; strictFunctionTypes: boolean; strictPropertyInitialization: boolean; strictNullChecks: boolean; suppressExcessPropertyErrors: boolean; suppressImplicitAnyIndexErrors: boolean; target: string; traceResolution: boolean; tsBuildInfoFile: string; types: string[]; typeRoots: string[]; useDefineForClassFields: boolean; version: boolean; watch: boolean; } export interface TscTaskConfig { options?: Partial<TscOptions>; spawn: Spawn; spawnOpts: SpawnOptions; } export declare class TscTask extends GulpTask<TscTaskConfig, void> { constructor(); executeTask(): Promise<void>; protected toArgString(args: Partial<TscOptions>): string; protected toOptionList(arg: any[]): string; protected prepareOptions(): string; } //# sourceMappingURL=TscTask.d.ts.map