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"

(cherry picked from commit aec581d)
  • Loading branch information
Platonn authored and dgp1130 committed Dec 21, 2023
1 parent 6dba26a commit 99b026e
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 @@ -71,7 +71,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 99b026e

Please sign in to comment.