Skip to content

Commit 389795e

Browse files
Update user baselines
1 parent 903a6c9 commit 389795e

File tree

2 files changed

+46
-48
lines changed

2 files changed

+46
-48
lines changed

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

-1
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

+46-47
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,17 @@ node_modules/@glimmer/util/dist/types/lib/destroy.d.ts(3,69): error TS2677: A ty
2323
Index signature is missing in type 'SymbolDestroyable'.
2424
node_modules/@glimmer/util/dist/types/lib/dom.d.ts(1,31): error TS2307: Cannot find module '@simple-dom/interface'.
2525
node_modules/@glimmer/util/dist/types/lib/is-serialization-first-node.d.ts(1,28): error TS2307: Cannot find module '@simple-dom/interface'.
26-
src/cli/util.js(63,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
27-
src/cli/util.js(122,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'.
28-
src/cli/util.js(416,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'.
26+
src/cli/util.js(60,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
27+
src/cli/util.js(119,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'.
28+
src/cli/util.js(413,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'.
2929
Object literal may only specify known properties, and 'nodir' does not exist in type 'GlobbyOptions'.
30-
src/cli/util.js(483,46): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
31-
src/cli/util.js(509,36): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
32-
src/cli/util.js(562,39): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
33-
src/cli/util.js(635,16): error TS2339: Property 'type' does not exist on type 'never'.
34-
src/cli/util.js(636,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'.
35-
src/cli/util.js(637,17): error TS2339: Property 'name' does not exist on type 'never'.
36-
src/cli/util.js(737,22): error TS2339: Property 'name' does not exist on type 'never'.
37-
src/cli/util.js(737,46): error TS2339: Property 'alias' does not exist on type 'never'.
30+
src/cli/util.js(507,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
31+
src/cli/util.js(528,37): error TS2339: Property 'grey' does not exist on type 'typeof import("/prettier/prettier/node_modules/chalk/types/index")'.
32+
src/cli/util.js(591,16): error TS2339: Property 'type' does not exist on type 'never'.
33+
src/cli/util.js(592,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'.
34+
src/cli/util.js(593,17): error TS2339: Property 'name' does not exist on type 'never'.
35+
src/cli/util.js(693,22): error TS2339: Property 'name' does not exist on type 'never'.
36+
src/cli/util.js(693,46): error TS2339: Property 'alias' does not exist on type 'never'.
3837
src/common/create-ignorer.js(34,19): error TS2349: This expression is not callable.
3938
Type 'typeof import("/prettier/prettier/node_modules/ignore/index")' has no call signatures.
4039
src/common/parser-create-error.js(8,9): error TS2339: Property 'loc' does not exist on type 'SyntaxError'.
@@ -208,60 +207,46 @@ src/language-js/needs-parens.js(871,14): error TS2769: No overload matches this
208207
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
209208
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
210209
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
211-
src/language-js/printer-estree.js(265,36): error TS2304: Cannot find name 'Doc'.
212-
src/language-js/printer-estree.js(266,62): error TS2304: Cannot find name 'Doc'.
213-
src/language-js/printer-estree.js(273,12): error TS2304: Cannot find name 'FastPath'.
214-
src/language-js/printer-estree.js(274,12): error TS2304: Cannot find name 'Options'.
215-
src/language-js/printer-estree.js(400,9): error TS2769: No overload matches this call.
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.
216215
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
217216
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
218217
Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray<never>': length, join, slice
219218
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
220219
Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
221220
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
222-
src/language-js/printer-estree.js(1489,28): error TS2769: No overload matches this call.
221+
src/language-js/printer-estree.js(1478,28): error TS2769: No overload matches this call.
223222
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.
224223
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; }>'.
225224
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
226225
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.
227226
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; }>'.
228227
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
229-
src/language-js/printer-estree.js(1922,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
230-
src/language-js/printer-estree.js(1924,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; }'.
231-
src/language-js/printer-estree.js(1926,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
232-
src/language-js/printer-estree.js(1935,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'.
233-
src/language-js/printer-estree.js(3481,11): error TS2769: No overload matches this call.
228+
src/language-js/printer-estree.js(1911,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(1913,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(1915,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(1924,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(3470,11): error TS2769: No overload matches this call.
234233
Overload 1 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
235234
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
236235
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
237236
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
238237
Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray<never>'.
239238
Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray<never>'.
240-
src/language-js/printer-estree.js(3910,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
241-
src/language-js/printer-estree.js(3977,14): error TS2339: Property 'comments' does not exist on type 'Expression'.
242-
Property 'comments' does not exist on type 'Identifier'.
243-
src/language-js/printer-estree.js(3989,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap.
244-
src/language-js/printer-estree.js(3990,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
245-
Property 'property' does not exist on type 'SimpleLiteral'.
246-
src/language-js/printer-estree.js(3990,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
247-
Property 'property' does not exist on type 'SimpleLiteral'.
248-
src/language-js/printer-estree.js(3995,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap.
249-
src/language-js/printer-estree.js(3997,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
250-
Property 'object' does not exist on type 'SimpleLiteral'.
251-
src/language-js/printer-estree.js(3998,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ... 16 more ... | AwaitExpression'.
252-
Property 'comments' does not exist on type 'SimpleLiteral'.
253-
src/language-js/printer-estree.js(4004,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"Identifier"' have no overlap.
254-
src/language-js/printer-estree.js(4005,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"ThisExpression"' have no overlap.
255-
src/language-js/printer-estree.js(4209,23): error TS2532: Object is possibly 'undefined'.
256-
src/language-js/printer-estree.js(4210,24): error TS2532: Object is possibly 'undefined'.
257-
src/language-js/printer-estree.js(4572,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
239+
src/language-js/printer-estree.js(3824,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
240+
src/language-js/printer-estree.js(4032,23): error TS2532: Object is possibly 'undefined'.
241+
src/language-js/printer-estree.js(4033,24): error TS2532: Object is possibly 'undefined'.
242+
src/language-js/printer-estree.js(4395,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'.
258243
Type '{ type: string; parts: any; }' is not assignable to type 'string'.
259-
src/language-js/printer-estree.js(4576,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
260-
src/language-js/printer-estree.js(4624,11): error TS2322: Type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }' is not assignable to type 'string'.
261-
src/language-js/printer-estree.js(4639,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
262-
src/language-js/printer-estree.js(4651,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'.
263-
src/language-js/printer-estree.js(4945,9): error TS2554: Expected 0-2 arguments, but got 3.
264-
src/language-js/printer-estree.js(6155,7): error TS2769: No overload matches this call.
244+
src/language-js/printer-estree.js(4399,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(4447,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(4462,11): error TS2322: Type '{ type: string; parts: any; }' is not assignable to type 'string'.
247+
src/language-js/printer-estree.js(4474,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(4747,9): error TS2554: Expected 0-2 arguments, but got 3.
249+
src/language-js/printer-estree.js(5755,7): error TS2769: No overload matches this call.
265250
Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error.
266251
Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'.
267252
The types returned by 'slice(...)' are incompatible between these types.
@@ -271,7 +256,21 @@ src/language-js/printer-estree.js(6155,7): error TS2769: No overload matches thi
271256
Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error.
272257
Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'.
273258
Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'.
274-
src/language-js/utils.js(107,55): error TS2554: Expected 0-1 arguments, but got 2.
259+
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'.
261+
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'.
264+
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'.
266+
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'.
269+
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'.
271+
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.
275274
src/language-markdown/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'.
276275
src/language-markdown/index.js(21,26): error TS2307: Cannot find module 'linguist-languages/data/Markdown'.
277276
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)