Skip to content

Commit d8d0f81

Browse files
Update user baselines
1 parent 8530fe0 commit d8d0f81

File tree

3 files changed

+18
-26
lines changed

3 files changed

+18
-26
lines changed

tests/baselines/reference/user/async.log

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,14 @@ node_modules/async/dist/async.js(1951,10): error TS1003: Identifier expected.
122122
node_modules/async/dist/async.js(1951,10): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
123123
node_modules/async/dist/async.js(1990,16): error TS2554: Expected 3 arguments, but got 1.
124124
node_modules/async/dist/async.js(2116,20): error TS2345: Argument of type 'Function | undefined' is not assignable to parameter of type 'number | undefined'.
125-
Type 'Function' is not assignable to type 'number | undefined'.
126-
Type 'Function' is not assignable to type 'number'.
125+
Type 'Function' is not assignable to type 'number'.
127126
node_modules/async/dist/async.js(2274,21): error TS2554: Expected 0 arguments, but got 2.
128127
node_modules/async/dist/async.js(2425,20): error TS1005: '}' expected.
129128
node_modules/async/dist/async.js(2450,5): error TS2322: Type '{ [x: string]: any; _tasks: DLL; concurrency: any; payload: any; saturated: () => void; unsaturat...' is not assignable to type 'NodeModule'.
130129
Property 'exports' is missing in type '{ [x: string]: any; _tasks: DLL; concurrency: any; payload: any; saturated: () => void; unsaturat...'.
131130
node_modules/async/dist/async.js(2521,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
132-
node_modules/async/dist/async.js(2564,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[] | undefined'.
133-
Type 'IArguments' is not assignable to type 'any[]'.
134-
Property 'push' is missing in type 'IArguments'.
131+
node_modules/async/dist/async.js(2564,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
132+
Property 'push' is missing in type 'IArguments'.
135133
node_modules/async/dist/async.js(2663,16): error TS2722: Cannot invoke an object which is possibly 'undefined'.
136134
node_modules/async/dist/async.js(2682,31): error TS1005: ']' expected.
137135
node_modules/async/dist/async.js(2707,31): error TS1005: ']' expected.

tests/baselines/reference/user/lodash.log

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ node_modules/lodash/_baseSlice.js(21,32): error TS2532: Object is possibly 'unde
6767
node_modules/lodash/_baseSlice.js(21,38): error TS2532: Object is possibly 'undefined'.
6868
node_modules/lodash/_baseSlice.js(22,3): error TS2532: Object is possibly 'undefined'.
6969
node_modules/lodash/_baseSlice.js(26,35): error TS2532: Object is possibly 'undefined'.
70-
node_modules/lodash/_baseSortBy.js(14,14): error TS2345: Argument of type 'Function' is not assignable to parameter of type '((a: any, b: any) => number) | undefined'.
71-
Type 'Function' is not assignable to type '(a: any, b: any) => number'.
72-
Type 'Function' provides no match for the signature '(a: any, b: any): number'.
70+
node_modules/lodash/_baseSortBy.js(14,14): error TS2345: Argument of type 'Function' is not assignable to parameter of type '(a: any, b: any) => number'.
71+
Type 'Function' provides no match for the signature '(a: any, b: any): number'.
7372
node_modules/lodash/_baseUniq.js(30,5): error TS2322: Type '(array?: any[] | undefined, value: any, comparator: Function) => boolean' is not assignable to type '(array?: any[] | undefined, value: any) => boolean'.
7473
node_modules/lodash/_baseUniq.js(33,33): error TS2554: Expected 0 arguments, but got 1.
7574
node_modules/lodash/_baseUniq.js(39,5): error TS2322: Type 'SetCache' is not assignable to type 'any[]'.
@@ -270,8 +269,7 @@ node_modules/lodash/findIndex.js(52,31): error TS2554: Expected 0-1 arguments, b
270269
node_modules/lodash/findKey.js(41,30): error TS2554: Expected 0-1 arguments, but got 2.
271270
node_modules/lodash/findLastIndex.js(56,31): error TS2554: Expected 0-1 arguments, but got 2.
272271
node_modules/lodash/findLastKey.js(41,30): error TS2554: Expected 0-1 arguments, but got 2.
273-
node_modules/lodash/fp/_baseConvert.js(144,5): error TS2322: Type 'Function' is not assignable to type '{ cap?: boolean; curry?: boolean; fixed?: boolean; immutable?: boolean; rearg?: boolean; } | unde...'.
274-
Type 'Function' has no properties in common with type '{ cap?: boolean; curry?: boolean; fixed?: boolean; immutable?: boolean; rearg?: boolean; }'.
272+
node_modules/lodash/fp/_baseConvert.js(144,5): error TS2559: Type 'Function' has no properties in common with type '{ cap?: boolean; curry?: boolean; fixed?: boolean; immutable?: boolean; rearg?: boolean; }'.
275273
node_modules/lodash/fp/_baseConvert.js(145,5): error TS2322: Type 'string' is not assignable to type 'Function'.
276274
node_modules/lodash/fp/_baseConvert.js(146,5): error TS2322: Type 'undefined' is not assignable to type 'string'.
277275
node_modules/lodash/fp/_baseConvert.js(165,31): error TS2339: Property 'runInContext' does not exist on type 'Function'.
@@ -402,11 +400,10 @@ node_modules/lodash/templateSettings.js(63,12): error TS2322: Type '{ [x: string
402400
Object literal may only specify known properties, and ''escape'' does not exist in type 'Function'.
403401
node_modules/lodash/throttle.js(59,28): error TS2532: Object is possibly 'undefined'.
404402
node_modules/lodash/throttle.js(60,30): error TS2532: Object is possibly 'undefined'.
405-
node_modules/lodash/throttle.js(62,31): error TS2345: Argument of type '{ 'leading': boolean; 'maxWait': number | undefined; 'trailing': boolean; }' is not assignable to parameter of type '{ leading?: boolean; maxWait?: number; trailing?: boolean; } | undefined'.
406-
Type '{ 'leading': boolean; 'maxWait': number | undefined; 'trailing': boolean; }' is not assignable to type '{ leading?: boolean; maxWait?: number; trailing?: boolean; }'.
407-
Types of property 'maxWait' are incompatible.
408-
Type 'number | undefined' is not assignable to type 'number'.
409-
Type 'undefined' is not assignable to type 'number'.
403+
node_modules/lodash/throttle.js(62,31): error TS2345: Argument of type '{ 'leading': boolean; 'maxWait': number | undefined; 'trailing': boolean; }' is not assignable to parameter of type '{ leading?: boolean; maxWait?: number; trailing?: boolean; }'.
404+
Types of property 'maxWait' are incompatible.
405+
Type 'number | undefined' is not assignable to type 'number'.
406+
Type 'undefined' is not assignable to type 'number'.
410407
node_modules/lodash/toLower.js(11,21): error TS8024: JSDoc '@param' tag has name 'string', but there is no parameter with that name.
411408
node_modules/lodash/toUpper.js(11,21): error TS8024: JSDoc '@param' tag has name 'string', but there is no parameter with that name.
412409
node_modules/lodash/transform.js(46,14): error TS2554: Expected 0-1 arguments, but got 2.

tests/baselines/reference/user/prettier.log

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ src/language-css/parser-postcss.js(100,30): error TS2345: Argument of type 'any'
2222
src/language-css/parser-postcss.js(104,28): error TS2345: Argument of type '{ [x: string]: any; groups: never[]; type: string; }' is not assignable to parameter of type 'never'.
2323
src/language-css/parser-postcss.js(407,32): error TS2531: Object is possibly 'null'.
2424
src/language-css/printer-postcss.js(3,30): error TS2307: Cannot find module 'html-tag-names'.
25-
src/language-handlebars/parser-glimmer.js(27,26): error TS2345: Argument of type '{ plugins: { ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): voi...' is not assignable to parameter of type 'PreprocessOptions | undefined'.
26-
Type '{ plugins: { ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): voi...' is not assignable to type 'PreprocessOptions'.
27-
Types of property 'plugins' are incompatible.
28-
Type '{ ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementN...' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; } | undefined'.
29-
Type '{ ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementN...' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; }'.
30-
Types of property 'ast' are incompatible.
31-
Type '(() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(nod...' is not assignable to type 'ASTPluginBuilder[] | undefined'.
32-
Type '(() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(nod...' is not assignable to type 'ASTPluginBuilder[]'.
33-
Type '() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node...' is not assignable to type 'ASTPluginBuilder'.
34-
Type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...' is not assignable to type 'ASTPlugin'.
35-
Property 'name' is missing in type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...'.
25+
src/language-handlebars/parser-glimmer.js(27,26): error TS2345: Argument of type '{ plugins: { ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): voi...' is not assignable to parameter of type 'PreprocessOptions'.
26+
Types of property 'plugins' are incompatible.
27+
Type '{ ast: (() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementN...' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; }'.
28+
Types of property 'ast' are incompatible.
29+
Type '(() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(nod...' is not assignable to type 'ASTPluginBuilder[]'.
30+
Type '() => { [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node...' is not assignable to type 'ASTPluginBuilder'.
31+
Type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...' is not assignable to type 'ASTPlugin'.
32+
Property 'name' is missing in type '{ [x: string]: any; visitor: { [x: string]: any; Program(node: any): void; ElementNode(node: any)...'.
3633
src/language-handlebars/printer-glimmer.js(270,7): error TS2554: Expected 0-1 arguments, but got 2.
3734
src/language-js/printer-estree.js(99,9): error TS2322: Type '{ [x: string]: any; type: string; }' is not assignable to type '{ [x: string]: any; type: string; parts: any; }'.
3835
Property 'parts' is missing in type '{ [x: string]: any; type: string; }'.

0 commit comments

Comments
 (0)