DefinitelyTyped/types/get-caller-file/get-caller-file-tests.ts
2018-02-03 22:22:13 +01:00

5 lines
117 B
TypeScript

import getCallerFile = require('get-caller-file');
let caller: string = getCallerFile();
caller = getCallerFile(3);