mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Unwrap all lone ambient external modules
This commit is contained in:
43
precise/precise.d.ts
vendored
43
precise/precise.d.ts
vendored
@@ -3,32 +3,31 @@
|
||||
// Definitions by: Peter Harris <https://github.com/codeanimal>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "precise" {
|
||||
/**
|
||||
* Precise factory
|
||||
*/
|
||||
function _precise(): _precise.Precise;
|
||||
|
||||
module _precise {
|
||||
/**
|
||||
* Precise factory
|
||||
*/
|
||||
declare function _precise(): _precise.Precise;
|
||||
|
||||
declare module _precise {
|
||||
class Precise {
|
||||
constructor();
|
||||
constructor();
|
||||
|
||||
/**
|
||||
* Starts a timer
|
||||
*/
|
||||
start(): Precise;
|
||||
/**
|
||||
* Starts a timer
|
||||
*/
|
||||
start(): Precise;
|
||||
|
||||
/**
|
||||
* Stops a timer
|
||||
*/
|
||||
stop(): Precise;
|
||||
/**
|
||||
* Stops a timer
|
||||
*/
|
||||
stop(): Precise;
|
||||
|
||||
/**
|
||||
* Returns the nanoseconds from `start()` to `stop()`
|
||||
*/
|
||||
diff(): number;
|
||||
/**
|
||||
* Returns the nanoseconds from `start()` to `stop()`
|
||||
*/
|
||||
diff(): number;
|
||||
}
|
||||
}
|
||||
|
||||
export = _precise;
|
||||
}
|
||||
|
||||
export = _precise;
|
||||
|
||||
Reference in New Issue
Block a user