Update index.d.ts

This commit is contained in:
wujingtao
2019-01-14 18:57:00 +08:00
committed by GitHub
parent b691c656f8
commit 25ad5fe08a
+3 -3
View File
@@ -53,11 +53,11 @@ declare namespace pidusage {
type Status = Stat;
/**
* If needed this function can be used to clear the event loop.
* Indeed, we're registering an interval to free up the in-memory metrics.
* If needed this function can be used to clear the event loop.
* Indeed, we're registering an interval to free up the in-memory metrics.
* By calling this, it will clear this interval and all delete all in-memory data
*/
export function clear(): void;
function clear(): void;
}
export = pidusage;