Fixed tslint errors

This commit is contained in:
Kovács Vince 2017-05-11 13:46:16 +02:00
parent bb536b6bf2
commit be9f4c36c0
2 changed files with 8 additions and 10 deletions

View File

@ -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[];

View File

@ -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();