mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-12 22:36:10 +08:00
* [tempfile] add linting & enable strict null checks * [tempfile] reintroduce namespace to support import * syntax to avoid a breaking change for users
5 lines
92 B
TypeScript
5 lines
92 B
TypeScript
import tempfile = require('tempfile');
|
|
|
|
tempfile(); // $ExpectType string
|
|
tempfile('.png');
|