moved rrweb-snapshot into packages/rrweb-snapshot

This commit is contained in:
Mark-fenng
2026-04-01 12:00:00 +08:00
parent c208a40e8e
commit 392c4bd871
53 changed files with 0 additions and 0 deletions

21
packages/rrweb-snapshot/test.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
declare module 'rollup-plugin-typescript' {
function typescript(): any;
export = typescript;
}
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;
}