angular/goldens/public-api/compiler-cli/compiler_options.api.md
Alex Rickabaugh d9687f43dd feat(compiler-cli): 'strictStandalone' flag enforces standalone (#57935)
Add the `strictStandalone` flag to `angularCompilerOptions`. When set to
true, the compiler will require that all declarations of components,
directive, and pipes be standalone. When `standalone: false` is provided,
an error is raised.

Note that until the default value of the standalone flag is flipped, this
does not catch the case where a declaration does not specify a value for
`standalone`.

The default value of the `strictStandalone` flag is `false`.

PR Close #57935
2024-09-26 14:22:24 -07:00

2.2 KiB

API Report File for "angular-srcs"

Do not edit this file. It is a report generated by API Extractor.


// @public
export interface BazelAndG3Options {
    annotateForClosureCompiler?: boolean;
    generateDeepReexports?: boolean;
    generateExtraImportsInLocalMode?: boolean;
    onlyExplicitDeferDependencyImports?: boolean;
    onlyPublishPublicTypingsForNgModules?: boolean;
}

// @public
export enum DiagnosticCategoryLabel {
    Error = "error",
    Suppress = "suppress",
    Warning = "warning"
}

// @public
export interface DiagnosticOptions {
    extendedDiagnostics?: {
        defaultCategory?: DiagnosticCategoryLabel;
        checks?: {
            [Name in ExtendedTemplateDiagnosticName]?: DiagnosticCategoryLabel;
        };
    };
    strictStandalone?: boolean;
}

// @public
export interface I18nOptions {
    enableI18nLegacyMessageIdFormat?: boolean;
    i18nInLocale?: string;
    i18nNormalizeLineEndingsInICUs?: boolean;
    i18nOutFile?: string;
    i18nOutFormat?: string;
    i18nOutLocale?: string;
    i18nPreserveWhitespaceForLegacyExtraction?: boolean;
    i18nUseExternalIds?: boolean;
}

// @public
export interface LegacyNgcOptions {
    // @deprecated
    allowEmptyCodegenFiles?: boolean;
    flatModuleId?: string;
    flatModuleOutFile?: string;
    // @deprecated
    fullTemplateTypeCheck?: boolean;
    preserveWhitespaces?: boolean;
    strictInjectionParameters?: boolean;
}

// @public
export interface MiscOptions {
    compileNonExportedClasses?: boolean;
    disableTypeScriptVersionCheck?: boolean;
    forbidOrphanComponents?: boolean;
}

// @public
export interface StrictTemplateOptions {
    strictAttributeTypes?: boolean;
    strictContextGenerics?: boolean;
    strictDomEventTypes?: boolean;
    strictDomLocalRefTypes?: boolean;
    strictInputAccessModifiers?: boolean;
    strictInputTypes?: boolean;
    strictLiteralTypes?: boolean;
    strictNullInputTypes?: boolean;
    strictOutputEventTypes?: boolean;
    strictSafeNavigationTypes?: boolean;
    strictTemplates?: boolean;
}

// @public
export interface TargetOptions {
    compilationMode?: 'full' | 'partial' | 'experimental-local';
}

// (No @packageDocumentation comment for this package)