mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
266 B
TypeScript
13 lines
266 B
TypeScript
import { directory, file, root } from "tempy";
|
|
|
|
//
|
|
|
|
const tempDir2: string = directory();
|
|
|
|
const tempFile: string = file();
|
|
const pngFile: string = file({ extension: "png" });
|
|
|
|
const fileWithName: string = file({ name: "afile.txt" });
|
|
|
|
const tmpRoot: string = root;
|