Skip to content

Commit c2f2ac1

Browse files
TypeScript Botweswigham
authored andcommitted
Update user baselines (#34345)
1 parent e146f0d commit c2f2ac1

File tree

2 files changed

+31
-38
lines changed

2 files changed

+31
-38
lines changed

tests/baselines/reference/docker/office-ui-fabric.log

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ Standard output:
8686
@uifabric/merge-styles: PASS src/Stylesheet.test.ts
8787
@uifabric/merge-styles: PASS src/extractStyleParts.test.ts
8888
@uifabric/merge-styles: PASS src/concatStyleSetsWithProps.test.ts
89-
@uifabric/merge-styles: PASS src/fontFace.test.ts
9089
@uifabric/merge-styles: [XX:XX:XX XM] ■ Extracting Public API surface from '/office-ui-fabric-react/packages/merge-styles/lib/index.d.ts'
9190
@uifabric/merge-styles: Done in ?s.
9291
@uifabric/jest-serializer-merge-styles: yarn run vX.X.X

tests/baselines/reference/user/prettier.log

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ src/language-js/index.js(71,73): error TS2345: Argument of type '{ override: { s
197197
src/language-js/index.js(81,26): error TS2307: Cannot find module 'linguist-languages/data/JSON5'.
198198
src/language-js/index.js(81,60): error TS2345: Argument of type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; exclude: any; }'.
199199
Type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is missing the following properties from type '{ extend: any; override: any; exclude: any; }': extend, exclude
200-
src/language-js/needs-parens.js(875,14): error TS2769: No overload matches this call.
200+
src/language-js/needs-parens.js(857,14): error TS2769: No overload matches this call.
201201
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
202202
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
203203
The types returned by 'slice(...)' are incompatible between these types.
@@ -207,46 +207,40 @@ src/language-js/needs-parens.js(875,14): error TS2769: No overload matches this
207207
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
208208
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
209209
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
210-
src/language-js/printer-estree.js(263,36): error TS2304: Cannot find name 'Doc'.
211-
src/language-js/printer-estree.js(264,62): error TS2304: Cannot find name 'Doc'.
212-
src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'FastPath'.
213-
src/language-js/printer-estree.js(272,12): error TS2304: Cannot find name 'Options'.
214-
src/language-js/printer-estree.js(398,9): error TS2769: No overload matches this call.
210+
src/language-js/printer-estree.js(262,36): error TS2304: Cannot find name 'Doc'.
211+
src/language-js/printer-estree.js(263,62): error TS2304: Cannot find name 'Doc'.
212+
src/language-js/printer-estree.js(270,12): error TS2304: Cannot find name 'FastPath'.
213+
src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'Options'.
214+
src/language-js/printer-estree.js(397,9): error TS2769: No overload matches this call.
215215
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
216216
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
217217
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<never>': length, join, slice
218218
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
219219
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
220220
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
221-
src/language-js/printer-estree.js(1480,28): error TS2769: No overload matches this call.
222-
Overload 1 of 2, '(...items: ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>[]): (string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; })[]', gave the following error.
223-
Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>'.
224-
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>': length, join, slice
225-
Overload 2 of 2, '(...items: (string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; } | ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>)[]): (string | { ...; })[]', gave the following error.
226-
Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; } | ConcatArray<string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; }>'.
227-
Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates
228-
src/language-js/printer-estree.js(1913,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
229-
src/language-js/printer-estree.js(1915,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
230-
src/language-js/printer-estree.js(1917,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
231-
src/language-js/printer-estree.js(1926,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
232-
src/language-js/printer-estree.js(3475,11): error TS2769: No overload matches this call.
221+
src/language-js/printer-estree.js(1896,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
222+
src/language-js/printer-estree.js(1898,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
223+
Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates
224+
src/language-js/printer-estree.js(1900,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
225+
src/language-js/printer-estree.js(1909,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
226+
src/language-js/printer-estree.js(3430,11): error TS2769: No overload matches this call.
233227
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
234228
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
235229
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
236230
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
237231
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
238232
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
239-
src/language-js/printer-estree.js(3829,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
240-
src/language-js/printer-estree.js(4037,23): error TS2532: Object is possibly 'undefined'.
241-
src/language-js/printer-estree.js(4038,24): error TS2532: Object is possibly 'undefined'.
242-
src/language-js/printer-estree.js(4400,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
233+
src/language-js/printer-estree.js(3782,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
234+
src/language-js/printer-estree.js(3990,23): error TS2532: Object is possibly 'undefined'.
235+
src/language-js/printer-estree.js(3991,24): error TS2532: Object is possibly 'undefined'.
236+
src/language-js/printer-estree.js(4312,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
243237
Type '{ type: string; parts: any; }' is not assignable to type 'string'.
244-
src/language-js/printer-estree.js(4404,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
245-
src/language-js/printer-estree.js(4452,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
246-
src/language-js/printer-estree.js(4467,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
247-
src/language-js/printer-estree.js(4479,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
248-
src/language-js/printer-estree.js(4752,9): error TS2554: Expected 0-2 arguments, but got 3.
249-
src/language-js/printer-estree.js(5760,7): error TS2769: No overload matches this call.
238+
src/language-js/printer-estree.js(4316,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
239+
src/language-js/printer-estree.js(4364,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
240+
src/language-js/printer-estree.js(4379,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
241+
src/language-js/printer-estree.js(4391,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
242+
src/language-js/printer-estree.js(4664,9): error TS2554: Expected 0-2 arguments, but got 3.
243+
src/language-js/printer-estree.js(5672,7): error TS2769: No overload matches this call.
250244
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
251245
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
252246
The types returned by 'slice(...)' are incompatible between these types.
@@ -257,20 +251,20 @@ src/language-js/printer-estree.js(5760,7): error TS2769: No overload matches thi
257251
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
258252
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
259253
src/language-js/utils.js(118,55): error TS2554: Expected 0-1 arguments, but got 2.
260-
src/language-js/utils.js(431,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
254+
src/language-js/utils.js(417,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
261255
Property 'comments' does not exist on type 'Identifier'.
262-
src/language-js/utils.js(443,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
263-
src/language-js/utils.js(444,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
256+
src/language-js/utils.js(429,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
257+
src/language-js/utils.js(430,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
264258
Property 'property' does not exist on type 'SimpleLiteral'.
265-
src/language-js/utils.js(444,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
259+
src/language-js/utils.js(430,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
266260
Property 'property' does not exist on type 'SimpleLiteral'.
267-
src/language-js/utils.js(449,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
268-
src/language-js/utils.js(451,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
261+
src/language-js/utils.js(435,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"OptionalMemberExpression"' have no overlap.
262+
src/language-js/utils.js(437,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
269263
Property 'object' does not exist on type 'SimpleLiteral'.
270-
src/language-js/utils.js(452,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
264+
src/language-js/utils.js(438,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
271265
Property 'comments' does not exist on type 'SimpleLiteral'.
272-
src/language-js/utils.js(458,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"Identifier"' have no overlap.
273-
src/language-js/utils.js(459,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"ThisExpression"' have no overlap.
266+
src/language-js/utils.js(444,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"Identifier"' have no overlap.
267+
src/language-js/utils.js(445,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "AwaitExpression"' and '"ThisExpression"' have no overlap.
274268
src/language-markdown/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'.
275269
src/language-markdown/index.js(21,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'.
276270
src/language-markdown/index.js(21,63): error TS2345: Argument of type '{ override: { name: string; since: string; parsers: string[]; vscodeLanguageIds: string[]; filenames: never[]; extensions: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; exclude: any; }'.

0 commit comments

Comments
 (0)