W3cubDocs

/Angular

CompilerOptions

type-alias

Options for creating a compiler.

See more...

type CompilerOptions = {
    useJit?: boolean;
    defaultEncapsulation?: ViewEncapsulation;
    providers?: StaticProvider[];
    missingTranslation?: MissingTranslationStrategy;
    preserveWhitespaces?: boolean;
};

Description

Note: the useJit and missingTranslation config options are not used in Ivy, passing them has no effect. Those config options are deprecated since v13.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/CompilerOptions