DefinitelyTyped/types/first-run/first-run-tests.ts
2019-01-13 11:47:43 +01:00

7 lines
145 B
TypeScript

import firstRun = require('first-run');
firstRun(); // $ExpectType boolean
firstRun({ name: 'foo' }); // $ExpectType boolean
firstRun.clear();