Veve

Tsconfig Reference

Tsconfig Reference Table

PropTypeDefault
alwaysStrict
boolean | undefined
undefined
baseUrl
string | undefined
undefined
experimentalDecorators
boolean | undefined
undefined
importsNotUsedAsValues
'remove' | 'preserve' | 'error' | undefined
undefined
jsx
'preserve' | 'react-native' | 'react' | 'react-jsx' | 'react-jsxdev' | undefined
undefined
jsxFactory
string | undefined
undefined
jsxFragmentFactory
string | undefined
undefined
jsxImportSource
string | undefined
undefined
paths
Record<string, string[]> | undefined
undefined
preserveValueImports
boolean | undefined
undefined
strict
boolean | undefined
undefined
useDefineForClassFields
boolean | undefined
undefined
verbatimModuleSyntax
boolean | undefined
undefined

Tsconfig Fields

alwaysStrict

Description: Whether to enforce strict mode in all files.
Type: boolean | undefined
Default: undefined

baseUrl

Description: The base URL for module resolution.
Type: string | undefined
Default: undefined

experimentalDecorators

Description: Enables experimental decorator support.
Type: boolean | undefined
Default: undefined

importsNotUsedAsValues

Description: Specifies how imports not used as values should be treated.
Type: 'remove' | 'preserve' | 'error' | undefined
Default: undefined

jsx

Description: Specifies the JSX code generation style.
Type: 'preserve' | 'react-native' | 'react' | 'react-jsx' | 'react-jsxdev' | undefined
Default: undefined

jsxFactory

Description: Factory function for creating JSX elements.
Type: string | undefined
Default: undefined

jsxFragmentFactory

Description: Factory function for creating JSX fragment elements.
Type: string | undefined
Default: undefined

jsxImportSource

Description: Specifies the module specifier for JSX imports.
Type: string | undefined
Default: undefined

paths

Description: A mapping of module paths to arrays of paths.
Type: Record<string, string[]> | undefined
Default: undefined

preserveValueImports

Description: Whether to preserve value imports in the emitted JavaScript.
Type: boolean | undefined
Default: undefined

strict

Description: Whether to enable strict type checking options.
Type: boolean | undefined
Default: undefined

useDefineForClassFields

Description: Whether to use define for class field initialization.
Type: boolean | undefined
Default: undefined

verbatimModuleSyntax

Description: Whether to keep the module syntax as-is in the emitted JavaScript.
Type: boolean | undefined
Default: undefined

On this page