This commit is contained in:
fisker Cheung authored and GitHub committed 2025-10-11 03:21:56 +08:00
1 parent ae43bcf68c
commit b82c542a06
4 files changed
+117

No files matched your search

@@ -3667,6 +3667,11 @@ margin
size: A4 portrait;
}
@page:first
{
counter-reset: page 1;
}
=====================================output=====================================
@page {
margin: 1cm;
@@ -3708,6 +3713,10 @@ margin
size: A4 portrait;
}
@page:first {
counter-reset: page 1;
}
================================================================================
`;
+5
View File
@@ -67,3 +67,8 @@ margin
@page vertical {
size: A4 portrait;
}
@page:first
{
counter-reset: page 1;
}
+33
View File
@@ -0,0 +1,33 @@
type A = (
/** @deprecated */
() => void
);
type B = (
/** @deprecated */
new () => void
);
type C = (
/** @deprecated */
<T>() => void
);
type D = (
/** @deprecated */
new <T>() => void
);
type A2 = (
/** comment */
() => void
);
type B2 = (
/** comment */
new () => void
);
type C2 = (
/** comment */
<T>() => void
);
type D2 = (
/** comment */
new <T>() => void
);
@@ -1,5 +1,75 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`10260.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]
printWidth: 80
| printWidth
=====================================input======================================
type A = (
/** @deprecated */
() => void
);
type B = (
/** @deprecated */
new () => void
);
type C = (
/** @deprecated */
<T>() => void
);
type D = (
/** @deprecated */
new <T>() => void
);
type A2 = (
/** comment */
() => void
);
type B2 = (
/** comment */
new () => void
);
type C2 = (
/** comment */
<T>() => void
);
type D2 = (
/** comment */
new <T>() => void
);
=====================================output=====================================
type A =
/** @deprecated */
() => void;
type B =
/** @deprecated */
new () => void;
type C =
/** @deprecated */
<T>() => void;
type D =
/** @deprecated */
new <T>() => void;
type A2 =
/** comment */
() => void;
type B2 =
/** comment */
new () => void;
type C2 =
/** comment */
<T>() => void;
type D2 =
/** comment */
new <T>() => void;
================================================================================
`;
exports[`11662.ts format 1`] = `
====================================options=====================================
parsers: ["typescript"]