mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-15 13:22:46 +00:00
* feat(karma): update constants export details - move Constatns to separate file - export as named re-export from main module - add missing type for 'PORT' - should be `number` OR `string` depending on the source of this contant. If read from ENV it will be a string always. - add missing documentation - move LOG types to use string literal types to use in the values in typechecks and intelllisense - tests updated https://github.com/karma-runner/karma/blob/master/lib/constants.js Thanks! * Resolve pull request comments: - constants import changed - re-export redefined - contants module reshape to comply with native module details. Using namespace import and named import for constant required TSLint config update to allow named imports: see: palantir/tslint#4524 /cc @43081j Thanks! * Refine import details as per PR comment /cc @43081j
12 lines
197 B
JSON
12 lines
197 B
JSON
{
|
|
"extends": "dtslint/dt.json",
|
|
"rules": {
|
|
"no-duplicate-imports": [
|
|
true,
|
|
{
|
|
"allow-namespace-imports": true
|
|
}
|
|
]
|
|
}
|
|
}
|