DefinitelyTyped/types/tempfile/tempfile-tests.ts
Dimitri Benin e1513dee76 [tempfile] add linting & enable strict null checks (#18852)
* [tempfile] add linting & enable strict null checks

* [tempfile] reintroduce namespace to support import * syntax to avoid a breaking change for users
2017-08-11 10:16:07 -07:00

5 lines
92 B
TypeScript

import tempfile = require('tempfile');
tempfile(); // $ExpectType string
tempfile('.png');