Skip to main content

PartialTypeScriptConfig

Configures and enables the TypeScript platform. Docs: https://moonrepo.dev/docs/config/toolchain#typescript

Index

Properties

optionalcreateMissingConfig

createMissingConfig?: null | boolean = null | boolean

When syncProjectReferences is enabled, will create a tsconfig.json in referenced projects if it does not exist.

optionalincludeProjectReferenceSources

includeProjectReferenceSources?: null | boolean

Appends sources of project reference to include in tsconfig.json, for each project.

optionalincludeSharedTypes

includeSharedTypes?: null | boolean

Appends shared types to include in tsconfig.json, for each project.

optionalprojectConfigFileName

projectConfigFileName?: null | string = null | string

Name of the tsconfig.json file within each project.

optionalroot

root?: null | string = null | string

The relative root to the TypeScript root. Primarily used for resolving project references.

optionalrootConfigFileName

rootConfigFileName?: null | string = null | string

Name of the tsconfig.json file at the workspace root.

optionalrootOptionsConfigFileName

rootOptionsConfigFileName?: null | string = null | string

Name of the shared compiler options tsconfig.json file at the workspace root.

optionalrouteOutDirToCache

routeOutDirToCache?: null | boolean

Updates and routes outDir in tsconfig.json to moon's cache, for each project.

optionalsyncProjectReferences

syncProjectReferences?: null | boolean = null | boolean

Syncs all project dependencies as references in tsconfig.json, for each project.

optionalsyncProjectReferencesToPaths

syncProjectReferencesToPaths?: null | boolean

Syncs all project dependencies as paths in tsconfig.json, for each project.