mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Fixed linting errors
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import addZero from "add-zero";
|
||||
|
||||
addZero(5, 2);
|
||||
addZero(5, 2);
|
||||
|
||||
Vendored
+1
-1
@@ -3,4 +3,4 @@
|
||||
// Definitions by: Giles Roadnight <https://github.com/Roaders>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export default function addZero(value: any, digits?: number): string;
|
||||
export default function addZero(value: string | number, digits?: number): string;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user