mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
* Improve typing
Add timeZone
Add moment.MomentBuiltinFormat to format and extraFormats
Add missing widgetParent methods
Validate for strictNullChecks (date and widgetParent)
* Add tslint.json
* Correct linting errors
* Non-arrow functions are forbidden
* Error parsing header. Expected: foo MAJOR.MINOR ('v' not allowed)
* Avoid using the Function type. Prefer a specific function type, like
`() => void`.
* Exceeds maximum line length of 200
* These overloads can be combined into one signature with an optional
parameter.
* These overloads can be combined into one signature taking ...
* Fix event type for "dp.update" off
* Correct parseInputDate typing
The parseInputDate function may be called with a date or moment object
too, see: date, disabledDates, defaultDate, enabledDates, maxDate,
minDate, viewDate.
* Linting: quotemark double
Use consistent quotation mark
23 lines
489 B
JSON
23 lines
489 B
JSON
{
|
|
"files": [
|
|
"index.d.ts",
|
|
"bootstrap.v3.datetimepicker-tests.ts"
|
|
],
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6",
|
|
"dom"
|
|
],
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
}
|
|
} |