Skip to content

Commit 60b883a

Browse files
authored
chore: update TypeScript to 5.5 (#11906)
* chore: update TypeScript to 5.5 * adjust api report file path * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <[email protected]>
1 parent 78e8d9e commit 60b883a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/testing/internal/profile/Render.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,12 @@ export class RenderInstance<Snapshot> implements Render<Snapshot> {
128128
const snapScreen = Object.assign(within(this.domSnapshot), {
129129
debug: (
130130
...[dom = this.domSnapshot, ...rest]: Parameters<typeof screen.debug>
131-
) => {
132-
screen.debug(dom, ...rest);
133-
},
131+
) => screen.debug(dom, ...rest),
134132
logTestingPlaygroundURL: (
135133
...[dom = this.domSnapshot, ...rest]: Parameters<
136134
typeof screen.logTestingPlaygroundURL
137135
>
138-
) => {
139-
screen.logTestingPlaygroundURL(dom, ...rest);
140-
},
136+
) => screen.logTestingPlaygroundURL(dom, ...rest),
141137
});
142138
return () => snapScreen;
143139
}

0 commit comments

Comments
 (0)