Skip to content

Commit

Permalink
fix(@schematics/angular): add missing property "buildTarget" to inter…
Browse files Browse the repository at this point in the history
…face "ServeBuilderOptions"
  • Loading branch information
Platonn authored and dgp1130 committed Dec 21, 2023
1 parent fc7aa22 commit aec581d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/schematics/angular/utility/workspace-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aec581d

Please sign in to comment.