diff --git a/packages/schematics/angular/utility/workspace-models.ts b/packages/schematics/angular/utility/workspace-models.ts index 5eea18caa562..25247ad9fddb 100644 --- a/packages/schematics/angular/utility/workspace-models.ts +++ b/packages/schematics/angular/utility/workspace-models.ts @@ -73,7 +73,13 @@ export interface BrowserBuilderOptions extends BrowserBuilderBaseOptions { } export interface ServeBuilderOptions { + /** + * @deprecated not used since version 17.0.0. Use the property "buildTarget" instead. + */ browserTarget: string; + + // TODO: make it required, when the deprecated property "browserTarget" is removed. + buildTarget?: string; } export interface LibraryBuilderOptions { tsConfig: string;