File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tools/public_api_guard/cdk Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
/** Wraps the provided value in an array, unless the provided value is an array. */
10
- export function coerceArray < T > ( value : T | T [ ] ) : T [ ] {
10
+ export function coerceArray < T > ( value : T | readonly T [ ] ) : T [ ] {
11
11
return Array . isArray ( value ) ? value : [ value ] ;
12
12
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export declare function _isNumberValue(value: any): boolean;
2
2
3
3
export declare type BooleanInput = string | boolean | null | undefined ;
4
4
5
- export declare function coerceArray < T > ( value : T | T [ ] ) : T [ ] ;
5
+ export declare function coerceArray < T > ( value : T | readonly T [ ] ) : T [ ] ;
6
6
7
7
export declare function coerceBooleanProperty ( value : any ) : boolean ;
8
8
You can’t perform that action at this time.
0 commit comments