From 1579bfdd467832505122bfc94508c5a6ae43bb22 Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Wed, 4 Jul 2018 14:42:36 -0700 Subject: [PATCH] Update user baselines (#25436) --- tests/baselines/reference/user/prettier.log | 26 +++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/tests/baselines/reference/user/prettier.log b/tests/baselines/reference/user/prettier.log index 4de7a61267..6234640120 100644 --- a/tests/baselines/reference/user/prettier.log +++ b/tests/baselines/reference/user/prettier.log @@ -71,10 +71,28 @@ src/language-vue/parser-vue.js(398,23): error TS2345: Argument of type '{ [x: st Property 'contentStart' is missing in type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }'. src/language-vue/parser-vue.js(399,9): error TS2322: Type '{ [x: string]: any; tag: any; attrs: any; unary: any; start: any; children: never[]; }' is not assignable to type '{ [x: string]: any; tag: string; attrs: never[]; unary: boolean; start: number; contentStart: num...'. src/main/core-options.js(51,43): error TS1005: '}' expected. -src/main/core-options.js(63,5): error TS2322: Type '{ cursorOffset: { since: string; category: string; type: "int"; default: number; range: { start: ...' is not assignable to type '{ [name: string]: OptionInfo; }'. - Property 'cursorOffset' is incompatible with index signature. - Type '{ since: string; category: string; type: "int"; default: number; range: { start: number; end: num...' is not assignable to type 'OptionInfo'. - Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(63,5): error TS2322: Type '{ since: string; category: string; type: "int"; default: number; range: { start: number; end: num...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(69,5): error TS2322: Type 'undefined' is not assignable to type 'string | number | boolean | { since: string; value: string | number | boolean; }[] | [{ value: (s...'. +src/main/core-options.js(82,5): error TS2322: Type '{ since: string; category: string; type: "boolean"; default: false; description: string; cliCateg...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(92,5): error TS2322: Type '({ [x: string]: any; value: string; description: string; } | { [x: string]: any; value: string; s...' is not assignable to type 'OptionChoiceInfo'. + Property 'value' is missing in type '({ [x: string]: any; value: string; description: string; } | { [x: string]: any; value: string; s...'. +src/main/core-options.js(122,5): error TS2322: Type '{ since: string; type: "path"; array: true; default: [{ value: never[]; }]; category: string; des...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliName' does not exist in type 'OptionInfo'. +src/main/core-options.js(125,3): error TS2322: Type '{ since: string; category: string; type: "int"; default: number; description: string; range: { st...' is not assignable to type 'OptionInfo'. + Property 'array' is missing in type '{ since: string; category: string; type: "int"; default: number; description: string; range: { st...'. +src/main/core-options.js(144,5): error TS2322: Type '{ since: string; category: string; type: "int"; default: number; range: { start: number; end: num...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(157,5): error TS2322: Type '{ since: string; category: string; type: "int"; default: number; range: { start: number; end: num...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(168,5): error TS2322: Type '{ since: string; category: string; type: "boolean"; default: false; description: any; cliCategory...' is not assignable to type 'OptionInfo'. + Object literal may only specify known properties, and 'cliCategory' does not exist in type 'OptionInfo'. +src/main/core-options.js(170,3): error TS2322: Type '{ type: "int"; category: string; default: number; description: string; range: { start: number; en...' is not assignable to type 'OptionInfo'. + Property 'since' is missing in type '{ type: "int"; category: string; default: number; description: string; range: { start: number; en...'. +src/main/core-options.js(182,5): error TS2322: Type 'string' is not assignable to type 'boolean | null'. +src/main/core-options.js(187,3): error TS2322: Type '{ since: string; category: string; type: "boolean"; default: false; description: string; }' is not assignable to type 'OptionInfo'. + Property 'array' is missing in type '{ since: string; category: string; type: "boolean"; default: false; description: string; }'. src/main/parser.js(61,9): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor'.