|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 | 3 | exports[`Typescript 3.5 detects errors 1`] = `
|
4 |
| -"46:2 - Type '{ unknownProperty: number; }' is not assignable to type 'Properties<0 | (string & {}), string & {}>'. |
| 4 | +"44:2 - Type '{ unknownProperty: number; }' is not assignable to type 'Properties<0 | (string & {}), string & {}>'. |
5 | 5 | Object literal may only specify known properties, and 'unknownProperty' does not exist in type 'Properties<0 | (string & {}), string & {}>'."
|
6 | 6 | `;
|
7 | 7 |
|
8 | 8 | exports[`Typescript 3.5 detects errors 2`] = `
|
9 |
| -"50:2 - Type 'number[]' is not assignable to type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | undefined'. |
| 9 | +"48:2 - Type 'number[]' is not assignable to type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | undefined'. |
10 | 10 | Type 'number[]' is not assignable to type '\\"unset\\"'."
|
11 | 11 | `;
|
12 | 12 |
|
13 | 13 | exports[`Typescript 3.5 detects errors 3`] = `
|
14 |
| -"51:2 - Type 'number[]' is not assignable to type '\\"inherit\\" | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | (number & {}) | undefined'. |
| 14 | +"49:2 - Type 'number[]' is not assignable to type '\\"inherit\\" | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | (number & {}) | undefined'. |
15 | 15 | Type 'number[]' is not assignable to type '\\"unset\\"'."
|
16 | 16 | `;
|
17 | 17 |
|
18 | 18 | exports[`Typescript 3.5 detects errors 4`] = `
|
19 |
| -"56:6 - Type '{}' is not assignable to type 'string & {}'. |
| 19 | +"54:6 - Type '{}' is not assignable to type 'string & {}'. |
20 | 20 | Type '{}' is not assignable to type 'string'."
|
21 | 21 | `;
|
22 | 22 |
|
23 | 23 | exports[`Typescript 3.5 detects errors 5`] = `
|
24 |
| -"61:10 - Type '\\"auto\\" | (string & {})' is not assignable to type '\\"auto\\"'. |
| 24 | +"59:10 - Type '\\"auto\\" | (string & {})' is not assignable to type '\\"auto\\"'. |
25 | 25 | Type 'string & {}' is not assignable to type '\\"auto\\"'."
|
26 | 26 | `;
|
27 | 27 |
|
28 |
| -exports[`Typescript 3.5 detects errors 6`] = `"68:6 - Type '1' is not assignable to type 'string | 0'."`; |
| 28 | +exports[`Typescript 3.5 detects errors 6`] = `"66:6 - Type '1' is not assignable to type 'string | 0'."`; |
29 | 29 |
|
30 |
| -exports[`Typescript 3.5 detects errors 7`] = `"80:23 - This condition will always return 'false' since the types 'string | 0 | (string | 0)[]' and '1' have no overlap."`; |
| 30 | +exports[`Typescript 3.5 detects errors 7`] = `"78:23 - This condition will always return 'false' since the types 'string | 0 | (string | 0)[]' and '1' have no overlap."`; |
31 | 31 |
|
32 |
| -exports[`Typescript 3.5 detects errors 8`] = `"94:25 - This condition will always return 'false' since the types 'string | 0' and '1' have no overlap."`; |
| 32 | +exports[`Typescript 3.5 detects errors 8`] = `"92:25 - This condition will always return 'false' since the types 'string | 0' and '1' have no overlap."`; |
33 | 33 |
|
34 |
| -exports[`Typescript 3.5 detects errors 9`] = `"104:14 - Argument of type '1' is not assignable to parameter of type 'string | 0 | (string | 0)[]'."`; |
| 34 | +exports[`Typescript 3.5 detects errors 9`] = `"102:14 - Argument of type '1' is not assignable to parameter of type 'string | 0 | (string | 0)[]'."`; |
35 | 35 |
|
36 | 36 | exports[`Typescript 3.5 detects errors 10`] = `
|
37 |
| -"105:14 - Argument of type '1[]' is not assignable to parameter of type 'string | 0 | (string | 0)[]'. |
| 37 | +"103:14 - Argument of type '1[]' is not assignable to parameter of type 'string | 0 | (string | 0)[]'. |
38 | 38 | Type '1[]' is not assignable to type '(string | 0)[]'.
|
39 | 39 | Type '1' is not assignable to type 'string | 0'."
|
40 | 40 | `;
|
41 | 41 |
|
42 |
| -exports[`Typescript 3.5 detects errors 11`] = `"118:23 - This condition will always return 'false' since the types 'string | 0 | (string | 0)[]' and '1' have no overlap."`; |
| 42 | +exports[`Typescript 3.5 detects errors 11`] = `"116:23 - This condition will always return 'false' since the types 'string | 0 | (string | 0)[]' and '1' have no overlap."`; |
43 | 43 |
|
44 |
| -exports[`Typescript 3.5 detects errors 12`] = `"132:25 - This condition will always return 'false' since the types 'string | 0' and '1' have no overlap."`; |
| 44 | +exports[`Typescript 3.5 detects errors 12`] = `"130:25 - This condition will always return 'false' since the types 'string | 0' and '1' have no overlap."`; |
45 | 45 |
|
46 |
| -exports[`Typescript 3.5 detects errors 13`] = `"142:34 - Argument of type '1' is not assignable to parameter of type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | \\"-moz-fit-content\\" | \\"-moz-max-content\\" | \\"-moz-min-content\\" | \\"fit-content\\" | \\"max-content\\" | ... 5 more ... | [...]'."`; |
| 46 | +exports[`Typescript 3.5 detects errors 13`] = `"140:34 - Argument of type '1' is not assignable to parameter of type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | \\"-moz-fit-content\\" | \\"-moz-max-content\\" | \\"-moz-min-content\\" | \\"fit-content\\" | \\"max-content\\" | ... 5 more ... | [...]'."`; |
47 | 47 |
|
48 | 48 | exports[`Typescript 3.5 detects errors 14`] = `
|
49 |
| -"143:34 - Argument of type '[1]' is not assignable to parameter of type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | \\"-moz-fit-content\\" | \\"-moz-max-content\\" | \\"-moz-min-content\\" | \\"fit-content\\" | \\"max-content\\" | ... 5 more ... | [...]'. |
| 49 | +"141:34 - Argument of type '[1]' is not assignable to parameter of type '0 | \\"auto\\" | \\"inherit\\" | (string & {}) | \\"-moz-initial\\" | \\"initial\\" | \\"revert\\" | \\"unset\\" | \\"-moz-fit-content\\" | \\"-moz-max-content\\" | \\"-moz-min-content\\" | \\"fit-content\\" | \\"max-content\\" | ... 5 more ... | [...]'. |
50 | 50 | Type '[1]' is not assignable to type '[Width<0 | (string & {})>]'.
|
51 | 51 | Type '1' is not assignable to type 'Width<0 | (string & {})>'."
|
52 | 52 | `;
|
53 | 53 |
|
54 |
| -exports[`Typescript 3.5 detects errors 15`] = `"147:38 - Namespace '\\"index\\"' has no exported member 'DataType'."`; |
| 54 | +exports[`Typescript 3.5 detects errors 15`] = `"146:38 - Namespace '\\"index\\"' has no exported member 'DataType'."`; |
0 commit comments