File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
packages/compute-baseline/src/baseline Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ export const BASELINE_LOW_TO_HIGH_DURATION = Temporal.Duration.from({
3131 months : 30 ,
3232} ) ;
3333
34- interface FeatureSelector {
35- compatKeys : [ string , ...string [ ] ] ;
36- checkAncestors : boolean ;
37- }
38-
3934type BaselineStatus = "low" | "high" | false ;
4035type BaselineDate = string | null ;
4136
@@ -54,7 +49,10 @@ interface SupportStatus {
5449 * "low" or false, dates, and releases) for those keys.
5550 */
5651export function computeBaseline (
57- featureSelector : FeatureSelector ,
52+ featureSelector : {
53+ compatKeys : [ string , ...string [ ] ] ;
54+ checkAncestors ?: boolean ;
55+ } ,
5856 compat : Compat = defaultCompat ,
5957) : SupportStatus {
6058 const { compatKeys } = featureSelector ;
You can’t perform that action at this time.
0 commit comments