Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit31fffd6

Browse files
authored
Remove types in intl environment that are still available in flow (#4603)
1 parent591bf2a commit31fffd6

File tree

1 file changed

+0
-41
lines changed
  • definitions/environments/intl/flow_v0.261.x-

1 file changed

+0
-41
lines changed

‎definitions/environments/intl/flow_v0.261.x-/intl.js‎

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@ declare class Intl$Collator {
3838
staticsupportedLocalesOf(locales?:Intl$Locales):Intl$Locale[];
3939
}
4040

41-
declaretypeIntl$CollatorOptions={
42-
localeMatcher?:'lookup'|'best fit',
43-
usage?:'sort'|'search',
44-
sensitivity?:'base'|'accent'|'case'|'variant',
45-
ignorePunctuation?:boolean,
46-
numeric?:boolean,
47-
caseFirst?:'upper'|'lower'|'false',
48-
...
49-
}
50-
5141
typeFormatToPartsType=|'day'|'dayPeriod'|'era'|'hour'|'literal'
5242
|'minute'|'month'|'second'|'timeZoneName'|'weekday'|'year';
5343

@@ -93,23 +83,6 @@ declare class Intl$DateTimeFormat {
9383
staticsupportedLocalesOf(locales?:Intl$Locales):Intl$Locale[];
9484
}
9585

96-
declaretypeIntl$DateTimeFormatOptions={
97-
localeMatcher?: 'lookup'|'best fit',
98-
timeZone?:string,
99-
hour12?:boolean,
100-
formatMatcher?:'basic'|'best fit',
101-
weekday?:'narrow'|'short'|'long',
102-
era?:'narrow'|'short'|'long',
103-
year?:'numeric'|'2-digit',
104-
month?:'numeric'|'2-digit'|'narrow'|'short'|'long',
105-
day?:'numeric'|'2-digit',
106-
hour?:'numeric'|'2-digit',
107-
minute?:'numeric'|'2-digit',
108-
second?:'numeric'|'2-digit',
109-
timeZoneName?:'short'|'long',
110-
...
111-
}
112-
11386
declareclassIntl$LocaleClass{
11487
baseName:string,
11588
calendar?:string,
@@ -173,20 +146,6 @@ declare class Intl$NumberFormat {
173146
staticsupportedLocalesOf(locales?:Intl$Locales):Intl$Locale[];
174147
}
175148

176-
declaretypeIntl$NumberFormatOptions={
177-
localeMatcher?: 'lookup'|'best fit',
178-
style?:'decimal'|'currency'|'percent'|'unit',
179-
currency?:string,
180-
currencyDisplay?:'symbol'|'code'|'name'|'narrowSymbol',
181-
useGrouping?:boolean,
182-
minimumIntegerDigits?:number,
183-
minimumFractionDigits?:number,
184-
maximumFractionDigits?:number,
185-
minimumSignificantDigits?:number,
186-
maximumSignificantDigits?:number,
187-
...
188-
}
189-
190149
declareclassIntl$PluralRules{
191150
constructor(
192151
locales?:Intl$Locales,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp