Skip to content

Commit 99b026e

Browse files
Platonndgp1130
authored andcommitted
fix(@schematics/angular): add missing property "buildTarget" to interface "ServeBuilderOptions"
(cherry picked from commit aec581d)
1 parent 6dba26a commit 99b026e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/schematics/angular/utility/workspace-models.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,13 @@ export interface BrowserBuilderOptions extends BrowserBuilderBaseOptions {
7171
}
7272

7373
export interface ServeBuilderOptions {
74+
/**
75+
* @deprecated not used since version 17.0.0. Use the property "buildTarget" instead.
76+
*/
7477
browserTarget: string;
78+
79+
// TODO: make it required, when the deprecated property "browserTarget" is removed.
80+
buildTarget?: string;
7581
}
7682
export interface LibraryBuilderOptions {
7783
tsConfig: string;

0 commit comments

Comments
 (0)