Properties
Optional compilerOptions
compilerOptions: CompilerOptions
Optional customTransformers
customTransformers: TransformerFactory<SourceFile>[]
Optional emitHeader
emitHeader: boolean
Optional getModuleNamespace
get
ModuleNamespace: (name: string, module?: ResolvedModuleFull, moduleIt?: ModuleInfo) => string
Type declaration
-
- (name: string, module?: ResolvedModuleFull, moduleIt?: ModuleInfo): string
-
Parameters
-
name: string
-
Optional module: ResolvedModuleFull
-
Returns string
Optional getModulePathCode
get
ModulePathCode: (importPath: string, module?: ResolvedModuleFull, moduleIt?: ModuleInfo, dirname?: string) => string
Type declaration
-
- (importPath: string, module?: ResolvedModuleFull, moduleIt?: ModuleInfo, dirname?: string): string
-
Parameters
-
importPath: string
-
Optional module: ResolvedModuleFull
-
-
Optional dirname: string
Returns string
Optional getNamespace
getNamespace: (filePath: string) => string
Type declaration
-
- (filePath: string): string
-
Parameters
Returns string
Optional helperNamespace
helperNamespace: string
Optional modules
modules: {}
Optional namespace
namespace: string
Optional plugins
plugins: { emit: Function }[]
Optional showDiagnostics
showDiagnostics: boolean
Optional source
source: string
TypeScript 编译配置
See https://www.typescriptlang.org/docs/handbook/compiler-options.html