You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					58 lines
				
				1.3 KiB
			
		
		
			
		
	
	
					58 lines
				
				1.3 KiB
			| 
											3 years ago
										 | // @flow | ||
|  | // This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|  | 
 | ||
|  | type Interval = { | ||
|  |   start: Date | number, | ||
|  |   end: Date | number | ||
|  | } | ||
|  | 
 | ||
|  | type Options = { | ||
|  |   weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
|  |   firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, | ||
|  |   additionalDigits?: 0 | 1 | 2, | ||
|  |   locale?: Locale, | ||
|  |   includeSeconds?: boolean, | ||
|  |   addSuffix?: boolean, | ||
|  |   unit?: 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year', | ||
|  |   roundingMethod?: 'floor' | 'ceil' | 'round', | ||
|  |   awareOfUnicodeTokens?: boolean, | ||
|  |   step?: number | ||
|  | } | ||
|  | 
 | ||
|  | type Locale = { | ||
|  |   formatDistance: Function, | ||
|  |   formatRelative: Function, | ||
|  |   localize: { | ||
|  |     ordinalNumber: Function, | ||
|  |     era: Function, | ||
|  |     quarter: Function, | ||
|  |     month: Function, | ||
|  |     day: Function, | ||
|  |     dayPeriod: Function | ||
|  |   }, | ||
|  |   formatLong: Object, | ||
|  |   date: Function, | ||
|  |   time: Function, | ||
|  |   dateTime: Function, | ||
|  |   match: { | ||
|  |     ordinalNumber: Function, | ||
|  |     era: Function, | ||
|  |     quarter: Function, | ||
|  |     month: Function, | ||
|  |     day: Function, | ||
|  |     dayPeriod: Function | ||
|  |   }, | ||
|  |   options?: { | ||
|  |     weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, | ||
|  |     firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | ||
|  |   } | ||
|  | } | ||
|  | 
 | ||
|  | type CurriedFn1<A, R> = <A>(a: A) => R | ||
|  | 
 | ||
|  | type CurriedFn2<A, B, R> = <A>( | ||
|  |   a: A | ||
|  | ) => CurriedFn1<B, R> | (<A, B>(a: A, b: B) => R) | ||
|  | 
 | ||
|  | declare module.exports: CurriedFn2<Options, any, boolean> |