mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(tempy): add typings for tempy * test(tempy): use promise instead of async/await * test(tempy): remove use of console.log API
10 lines
404 B
TypeScript
10 lines
404 B
TypeScript
// Type definitions for tempy 0.1
|
|
// Project: https://github.com/sindresorhus/tempy#readme
|
|
// Definitions by: Douglas Duteil <https://github.com/douglasduteil>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export function directoryAsync(): Promise<string>;
|
|
export function directory(): string;
|
|
export function file(options?: {extension: string}): string;
|
|
export const root: string;
|