File tree 1 file changed +7
-6
lines changed
rush-plugins/rush-serve-plugin/src 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,19 @@ export interface IRushProjectServeJson {
12
12
routing : IRoutingRuleJson [ ] ;
13
13
}
14
14
15
- export interface IRoutingFolderRuleJson {
16
- projectRelativeFile : undefined ;
17
- projectRelativeFolder : string ;
15
+ export interface IBaseRoutingRuleJson {
18
16
servePath : string ;
19
17
immutable ?: boolean ;
20
18
}
21
19
22
- export interface IRoutingFileRuleJson {
20
+ export interface IRoutingFolderRuleJson extends IBaseRoutingRuleJson {
21
+ projectRelativeFile : undefined ;
22
+ projectRelativeFolder : string ;
23
+ }
24
+
25
+ export interface IRoutingFileRuleJson extends IBaseRoutingRuleJson {
23
26
projectRelativeFile : string ;
24
27
projectRelativeFolder : undefined ;
25
- servePath : string ;
26
- immutable ?: boolean ;
27
28
}
28
29
29
30
export type IRoutingRuleJson = IRoutingFileRuleJson | IRoutingFolderRuleJson ;
You can’t perform that action at this time.
0 commit comments