You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
@@ -184,7 +184,7 @@ function isFramework(v: any): v is 'react' {
184
184
}
185
185
}
186
186
187
-
functionisTarget(v: any): v is 'es5'|'es2015'|'es2016'|'es2017'|'es2018'|'es2019'|'es2020'{
187
+
functionisBuildTarget(v: any): v is 'es5'|'es2015'|'es2016'|'es2017'|'es2018'|'es2019'|'es2020'{
188
188
switch(v){
189
189
case'es5':
190
190
case'es2015':
@@ -199,6 +199,35 @@ function isTarget(v: any): v is 'es5' | 'es2015' | 'es2016' | 'es2017' | 'es2018
199
199
}
200
200
}
201
201
202
+
functionisLocaleID(v: any): v is string{
203
+
returnutil.isNEString(v)&&reLocaleID.test(v)
204
+
}
205
+
202
206
functionisPostcssConfig(v: any): v is {plugins: (string|AcceptedPlugin|[string|((options: Record<string,any>)=>AcceptedPlugin),Record<string,any>])[]}{
0 commit comments