@kazupon/lerna-changelog
Version:
Generate a changelog for a lerna monorepo
21 lines (20 loc) • 505 B
TypeScript
declare type Json = {
[key: string]: unknown;
};
declare type MockResponse = {
status: number;
statusText: string;
ok: boolean;
body: Json;
};
export default function fetch(url: string): Promise<{
status: number;
statusText: string;
ok: boolean;
json: () => Promise<Json | undefined>;
}>;
export declare function __setMockResponses(newMockResponses: {
[url: string]: Partial<MockResponse>;
}): void;
export declare function __resetMockResponses(): void;
export {};