project files added
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
|
||||
|
||||
import { isDateWithOptions } from 'date-fns/fp'
|
||||
export = isDateWithOptions
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// This file is generated automatically by `scripts/build/fp.js`. Please, don't change it.
|
||||
import fn from '../../isDate/index.js';
|
||||
import convertToFP from '../_lib/convertToFP/index.js';
|
||||
var isDateWithOptions = convertToFP(fn, 2);
|
||||
export default isDateWithOptions;
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
// @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>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"typings": "../../../typings.d.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user