mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Remove date-fns typings as they are now bundled with the library
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import {addDays, closestIndexTo, differenceInCalendarWeeks, max, isDate} from 'date-fns';
|
||||
import * as addHours from 'date-fns/add_hours';
|
||||
|
||||
function test() {
|
||||
|
||||
addDays(new Date(), 5);
|
||||
closestIndexTo(new Date(), [new Date(), new Date()]);
|
||||
addHours(new Date(), 5);
|
||||
differenceInCalendarWeeks(new Date(), new Date());
|
||||
differenceInCalendarWeeks(new Date(), new Date(), {weekStartsOn: 1});
|
||||
max(new Date(), new Date());
|
||||
isDate({});
|
||||
|
||||
}
|
||||
Vendored
-1195
File diff suppressed because it is too large
Load Diff
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"date-fns-tests.ts"
|
||||
]
|
||||
}
|
||||
+11
-5
@@ -204,10 +204,16 @@
|
||||
"asOfVersion": "2.0.2"
|
||||
},
|
||||
{
|
||||
"libraryName": "ajv",
|
||||
"typingsPackageName": "ajv",
|
||||
"sourceRepoURL": "https://github.com/epoberezkin/ajv",
|
||||
"asOfVersion": "1.0.0"
|
||||
"libraryName": "ajv",
|
||||
"typingsPackageName": "ajv",
|
||||
"sourceRepoURL": "https://github.com/epoberezkin/ajv",
|
||||
"asOfVersion": "1.0.0"
|
||||
},
|
||||
{
|
||||
"libraryName": "date-fns",
|
||||
"typingsPackageName": "date-fns",
|
||||
"sourceRepoURL": "https://github.com/date-fns/date-fns",
|
||||
"asOfVersion": "2.6.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user