Files
rrweb/test.d.ts
2018-10-15 17:21:14 +08:00

27 lines
525 B
TypeScript

declare module 'rollup-plugin-typescript' {
function typescript(): any;
export = typescript;
}
declare module 'rollup-plugin-node-resolve' {
function resolve(): any;
export = resolve;
}
declare module 'jest-snapshot' {
export class SnapshotState {
constructor(testFile: string, options: any);
save(): any;
}
type matchResult = {
pass: boolean;
report(): string;
};
export function toMatchSnapshot(
received: any,
propertyMatchers?: any,
testName?: string,
): matchResult;
}