mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
- definition files for 'Rich-Harris/degit' - tests https://github.com/Rich-Harris/degit#readme https://github.com/Rich-Harris/degit#javascript-api Thanks!
30 lines
678 B
TypeScript
30 lines
678 B
TypeScript
import { DegitErrorCode } from './index';
|
|
|
|
export const degitConfigName: string;
|
|
|
|
export class DegitError extends Error {
|
|
code: DegitErrorCode;
|
|
original?: Error;
|
|
ref?: string;
|
|
url?: string;
|
|
}
|
|
|
|
export function tryRequire(
|
|
file: string,
|
|
opts?: {
|
|
clearCache?: true;
|
|
},
|
|
): unknown;
|
|
|
|
export function exec(command: string): Promise<{ stdout: string; stderr: string }>;
|
|
|
|
export function mkdirp(dir: string): void;
|
|
|
|
export function fetch(url: string, dest: string, proxy: string): Promise<void>;
|
|
|
|
export function stashFiles(dir: string, dest: string): void;
|
|
|
|
export function unstashFiles(dir: string, dest: string): void;
|
|
|
|
export const base: string;
|