mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
add tempfile type definitions (#9581)
This commit is contained in:
committed by
Horiuchi_H
parent
b040dd974e
commit
1c8c523ed8
@@ -0,0 +1,6 @@
|
||||
/// <reference path="./tempfile.d.ts" />
|
||||
|
||||
import tempfile = require('tempfile');
|
||||
|
||||
tempfile();
|
||||
tempfile('.png');
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// Type definitions for tempfile v1.1.0
|
||||
// Project: https://github.com/sindresorhus/tempfile
|
||||
// Definitions by: Sam Verschueren <https://github.com/SamVerschueren>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "tempfile" {
|
||||
function tempfile(extension?: string): string;
|
||||
module tempfile {}
|
||||
export = tempfile;
|
||||
}
|
||||
Reference in New Issue
Block a user