DefinitelyTyped/types/ofe/ofe-tests.ts
2017-08-17 14:53:41 -07:00

9 lines
221 B
TypeScript

/// <reference types="node" />
import * as ofe from 'ofe';
const ret = ofe.call();
if (ret === 'done') {
console.log('The ofe module was successfully called to create a heapdump if the process runs out of memory.');
}