DefinitelyTyped/types/tempy/index.d.ts
Douglas Duteil cfb448f0ac feat(tempy): add typings for tempy (#18246)
* feat(tempy): add typings for tempy

* test(tempy): use promise instead of async/await

* test(tempy): remove use of console.log API
2017-07-21 09:50:48 -07:00

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;