mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fixed tslint errors
This commit is contained in:
Vendored
+4
-6
@@ -3,12 +3,10 @@
|
||||
// Definitions by: Kovács Vince <https://github.com/vincekovacs>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace microtime {
|
||||
function now (): number
|
||||
export as namespace microtime;
|
||||
|
||||
function nowDouble (): number
|
||||
export function now(): number;
|
||||
|
||||
function nowStruct (): number[]
|
||||
}
|
||||
export function nowDouble(): number;
|
||||
|
||||
export = microtime;
|
||||
export function nowStruct(): number[];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as microtime from "microtime"
|
||||
import * as microtime from "microtime";
|
||||
|
||||
const nowInteger: number = microtime.now()
|
||||
const nowInteger: number = microtime.now();
|
||||
|
||||
const nowDouble: number = microtime.nowDouble()
|
||||
const nowDouble: number = microtime.nowDouble();
|
||||
|
||||
const nowStruct: number[] = microtime.nowStruct()
|
||||
const nowStruct: number[] = microtime.nowStruct();
|
||||
|
||||
Reference in New Issue
Block a user