Skip to content

Commit 6274f6e

Browse files
committed
[tests] TypeScript whitespace changes
1 parent 2d72412 commit 6274f6e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/unit/types/__snapshots__/types.test.tsx.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,13 +1826,13 @@ exports[`Types: ui-react.tsx:1358:46 1`] = `"Property 't2' does not exist on typ
18261826
18271827
exports[`Types: ui-react.tsx:1359:21 1`] = `"Argument of type 'Store<NoSchemas>' is not assignable to parameter of type 'Store<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>'."`;
18281828
1829-
exports[`Types: ui-react.tsx:1478:16 1`] = `"Type '({ tableId }: { readonly tableId: 't0' | 't2'; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ... 4 more ...; readonly de...'."`;
1829+
exports[`Types: ui-react.tsx:1478:16 1`] = `"Type '({ tableId }: { readonly tableId: 't0' | 't2';}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ... 4 more ...; readonly de...'."`;
18301830
18311831
exports[`Types: ui-react.tsx:1486:44 1`] = `"Type '"c2"' is not assignable to type '"c0"'."`;
18321832
18331833
exports[`Types: ui-react.tsx:1487:5 1`] = `"Type '{ tableId: "t1"; rowComponent: ({ tableId, rowId, }: { readonly tableId: "t0" | "t2"; readonly rowId: string; }) => Element; }' is not assignable to type 'IntrinsicAttributes & ({ readonly tableId: "t0"; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { ...; }; }; }, { ...; }]> | undefined; ... 4 more ...; readonly debugIds?: boolean | undefined; } |...'."`;
18341834
1835-
exports[`Types: ui-react.tsx:1488:28 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't2'; readonly rowId: Id; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
1835+
exports[`Types: ui-react.tsx:1488:28 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't2'; readonly rowId: Id;}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
18361836
18371837
exports[`Types: ui-react.tsx:1489:15 1`] = `"Type '"t2"' is not assignable to type '"t0" | "t1"'."`;
18381838
@@ -1842,15 +1842,15 @@ exports[`Types: ui-react.tsx:1499:50 1`] = `"Type '"c2"' is not assignable to ty
18421842
18431843
exports[`Types: ui-react.tsx:1500:5 1`] = `"Type '{ tableId: "t1"; rowComponent: ({ tableId, rowId, }: { readonly tableId: "t0" | "t2"; readonly rowId: string; }) => Element; }' is not assignable to type 'IntrinsicAttributes & ({ readonly tableId: "t0"; readonly cellId?: "c0" | undefined; readonly descending?: boolean | undefined; readonly offset?: number | undefined; ... 6 more ...; readonly debugIds?: boolean | undefined; } | { ...; })'."`;
18441844
1845-
exports[`Types: ui-react.tsx:1501:34 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't2'; readonly rowId: Id; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
1845+
exports[`Types: ui-react.tsx:1501:34 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't2'; readonly rowId: Id;}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
18461846
18471847
exports[`Types: ui-react.tsx:1502:21 1`] = `"Type '"t2"' is not assignable to type '"t0" | "t1"'."`;
18481848
18491849
exports[`Types: ui-react.tsx:1510:53 1`] = `"Type '"c2"' is not assignable to type '"c0"'."`;
18501850
18511851
exports[`Types: ui-react.tsx:1511:5 1`] = `"Type '{ tableId: "t1"; rowId: string; cellComponent: ({ tableId, rowId, cellId, }: { readonly tableId: "t0" | "t1"; readonly rowId: string; readonly cellId: "c0" | "c2"; }) => Element; }' is not assignable to type 'IntrinsicAttributes & ({ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { ...; }; }; }, { ...; }]> | undefined; ... 4 more ...; readonly debugIds?: ...'."`;
18521852
1853-
exports[`Types: ui-react.tsx:1512:37 1`] = `"Type '({ tableId, rowId, cellId, }: { readonly tableId: 't1'; readonly rowId: Id; readonly cellId: 'c2'; }) => React.JSX.Element' is not assignable to type 'ComponentType<CellPropsForTableIdAndCellId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }], "t0", "c0">> | ComponentType<...> | undefined'."`;
1853+
exports[`Types: ui-react.tsx:1512:37 1`] = `"Type '({ tableId, rowId, cellId, }: { readonly tableId: 't1'; readonly rowId: Id; readonly cellId: 'c2';}) => React.JSX.Element' is not assignable to type 'ComponentType<CellPropsForTableIdAndCellId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }], "t0", "c0">> | ComponentType<...> | undefined'."`;
18541854
18551855
exports[`Types: ui-react.tsx:1513:13 1`] = `"Type '"t2"' is not assignable to type '"t0" | "t1"'."`;
18561856
@@ -1860,15 +1860,15 @@ exports[`Types: ui-react.tsx:1519:14 1`] = `"Type '"t2"' is not assignable to ty
18601860
18611861
exports[`Types: ui-react.tsx:1519:38 1`] = `"Type '"c2"' is not assignable to type '"c0" | "c1" | "c1d"'."`;
18621862
1863-
exports[`Types: ui-react.tsx:1525:16 1`] = `"Type '({ valueId }: { readonly valueId: 'v1' | 'v2'; }) => React.JSX.Element' is not assignable to type 'ComponentType<ValueProps<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>> | undefined'."`;
1863+
exports[`Types: ui-react.tsx:1525:16 1`] = `"Type '({ valueId }: { readonly valueId: 'v1' | 'v2';}) => React.JSX.Element' is not assignable to type 'ComponentType<ValueProps<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>> | undefined'."`;
18641864
18651865
exports[`Types: ui-react.tsx:1530:15 1`] = `"Type '"v2"' is not assignable to type '"v1" | "v1d"'."`;
18661866
1867-
exports[`Types: ui-react.tsx:1542:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
1867+
exports[`Types: ui-react.tsx:1542:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id;}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
18681868
1869-
exports[`Types: ui-react.tsx:1555:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
1869+
exports[`Types: ui-react.tsx:1555:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id;}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
18701870
1871-
exports[`Types: ui-react.tsx:1568:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id; }) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
1871+
exports[`Types: ui-react.tsx:1568:6 1`] = `"Type '({ tableId, rowId, }: { readonly tableId: 't0' | 't2'; readonly rowId: Id;}) => React.JSX.Element' is not assignable to type 'ComponentType<{ readonly tableId: "t0"; readonly rowId: string; readonly store?: StoreOrStoreId<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]> | undefined; ......'."`;
18721872
18731873
exports[`Types: ui-react.tsx:1577:6 1`] = `"Type 'Store<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, NoValuesSchema]>' is not assignable to type 'Store<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>'."`;
18741874
@@ -1906,7 +1906,7 @@ exports[`Types: ui-react-dom.tsx:153:6 1`] = `"Type '{ c1: { component: ({ table
19061906
19071907
exports[`Types: ui-react-dom.tsx:157:20 1`] = `"Object literal may only specify known properties, and 'c2' does not exist in type '"c0"[] | ("c1" | "c1d")[] | { c0?: string | CustomCell<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }], "t0", "c0"> | undefined; } | { ...; }'."`;
19081908
1909-
exports[`Types: ui-react-dom.tsx:164:23 1`] = `"Type '({ valueId }: { readonly valueId: 'v1' | 'v2'; }) => React.JSX.Element' is not assignable to type 'ComponentType<ValueProps<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>> | undefined'."`;
1909+
exports[`Types: ui-react-dom.tsx:164:23 1`] = `"Type '({ valueId }: { readonly valueId: 'v1' | 'v2';}) => React.JSX.Element' is not assignable to type 'ComponentType<ValueProps<[{ readonly t0: { readonly c0: { readonly type: "number"; }; }; readonly t1: { readonly c1: { readonly type: "number"; }; readonly c1d: { readonly type: "string"; readonly default: ""; }; }; }, { ...; }]>> | undefined'."`;
19101910
19111911
exports[`Types: ui-react-dom.tsx:169:46 1`] = `"Type '"c2"' is not assignable to type '"c0" | "c1" | "c1d"'."`;
19121912

0 commit comments

Comments
 (0)