Skip to content

Commit

Permalink
Update user baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Apr 12, 2019
1 parent 4230270 commit 002e4d1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 22 deletions.
1 change: 0 additions & 1 deletion tests/baselines/reference/user/TypeScript-Node-Starter.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Exit Code: 1
Standard output:
node_modules/@types/passport-facebook/index.d.ts(50,31): error TS2689: Cannot extend an interface 'passport.Strategy'. Did you mean 'implements'?
src/controllers/user.ts(95,5): error TS2345: Argument of type '{ email: any; password: any; }' is not assignable to parameter of type 'Partial<Document>'.
Object literal may only specify known properties, and 'email' does not exist in type 'Partial<Document>'.
src/controllers/user.ts(105,16): error TS7006: Parameter 'err' implicitly has an 'any' type.
Expand Down
35 changes: 16 additions & 19 deletions tests/baselines/reference/user/chrome-devtools-frontend.log
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Exit Code: 1
Standard output:
../../../../built/local/lib.dom.d.ts(2466,11): error TS2300: Duplicate identifier 'CSSRule'.
../../../../built/local/lib.dom.d.ts(2485,13): error TS2300: Duplicate identifier 'CSSRule'.
../../../../built/local/lib.dom.d.ts(3370,11): error TS2300: Duplicate identifier 'Comment'.
../../../../built/local/lib.dom.d.ts(3373,13): error TS2300: Duplicate identifier 'Comment'.
../../../../built/local/lib.dom.d.ts(5054,11): error TS2300: Duplicate identifier 'Event'.
../../../../built/local/lib.dom.d.ts(5114,13): error TS2300: Duplicate identifier 'Event'.
../../../../built/local/lib.dom.d.ts(11501,11): error TS2300: Duplicate identifier 'Position'.
../../../../built/local/lib.dom.d.ts(12257,11): error TS2300: Duplicate identifier 'Request'.
../../../../built/local/lib.dom.d.ts(12337,13): error TS2300: Duplicate identifier 'Request'.
../../../../built/local/lib.dom.d.ts(17014,11): error TS2300: Duplicate identifier 'Window'.
../../../../built/local/lib.dom.d.ts(17149,13): error TS2300: Duplicate identifier 'Window'.
../../../../built/local/lib.dom.d.ts(2495,11): error TS2300: Duplicate identifier 'CSSRule'.
../../../../built/local/lib.dom.d.ts(2514,13): error TS2300: Duplicate identifier 'CSSRule'.
../../../../built/local/lib.dom.d.ts(3399,11): error TS2300: Duplicate identifier 'Comment'.
../../../../built/local/lib.dom.d.ts(3402,13): error TS2300: Duplicate identifier 'Comment'.
../../../../built/local/lib.dom.d.ts(5093,11): error TS2300: Duplicate identifier 'Event'.
../../../../built/local/lib.dom.d.ts(5153,13): error TS2300: Duplicate identifier 'Event'.
../../../../built/local/lib.dom.d.ts(11609,11): error TS2300: Duplicate identifier 'Position'.
../../../../built/local/lib.dom.d.ts(12365,11): error TS2300: Duplicate identifier 'Request'.
../../../../built/local/lib.dom.d.ts(12445,13): error TS2300: Duplicate identifier 'Request'.
../../../../built/local/lib.dom.d.ts(17123,11): error TS2300: Duplicate identifier 'Window'.
../../../../built/local/lib.dom.d.ts(17259,13): error TS2300: Duplicate identifier 'Window'.
../../../../built/local/lib.es5.d.ts(1416,11): error TS2300: Duplicate identifier 'ArrayLike'.
../../../../built/local/lib.es5.d.ts(1452,6): error TS2300: Duplicate identifier 'Record'.
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
Expand All @@ -35,7 +35,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322:
node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(729,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(746,5): error TS2322: Type 'Window | {}' is not assignable to type 'Window'.
Type '{}' is missing the following properties from type 'Window': Blob, TextDecoder, TextEncoder, URL, and 233 more.
Type '{}' is missing the following properties from type 'Window': Blob, TextDecoder, TextEncoder, URL, and 234 more.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(854,36): error TS2339: Property 'eval' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(1083,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(1088,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
Expand Down Expand Up @@ -3356,8 +3356,7 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(26,46): error T
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(44,23): error TS2322: Type 'number' is not assignable to type 'RegExpMatchArray'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(45,23): error TS2365: Operator '>=' cannot be applied to types 'RegExpMatchArray' and 'number'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(47,76): error TS2365: Operator '<' cannot be applied to types 'RegExpMatchArray' and 'number'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(94,25): error TS2339: Property 'createTextRange' does not exist on type 'HTMLBodyElement | HTMLFrameSetElement'.
Property 'createTextRange' does not exist on type 'HTMLBodyElement'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(94,25): error TS2339: Property 'createTextRange' does not exist on type 'HTMLElement'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(683,31): error TS2339: Property 'length' does not exist on type 'never'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(684,33): error TS2339: Property 'find' does not exist on type 'never'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(689,28): error TS2339: Property 'inclusiveLeft' does not exist on type 'never'.
Expand Down Expand Up @@ -6136,8 +6135,7 @@ node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(12
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(136,5): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(161,5): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(219,43): error TS2694: Namespace 'Protocol' has no exported member 'Network'.
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(244,54): error TS2339: Property 'traverseNextNode' does not exist on type 'HTMLBodyElement | HTMLFrameSetElement'.
Property 'traverseNextNode' does not exist on type 'HTMLBodyElement'.
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(244,54): error TS2339: Property 'traverseNextNode' does not exist on type 'HTMLElement'.
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(463,53): error TS2345: Argument of type '{ url: string; type: string; }' is not assignable to parameter of type '{ contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
Type '{ url: string; type: string; }' is missing the following properties from type '{ contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }': contentURL, contentType, contentEncoded, requestContent, searchInContent
node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(471,22): error TS2339: Property 'valuesArray' does not exist on type 'Map<string, { contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }>'.
Expand Down Expand Up @@ -11989,7 +11987,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataP
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(654,37): error TS2339: Property 'naturalHeight' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(655,39): error TS2339: Property 'naturalWidth' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(660,23): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'CanvasImageSource'.
Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'ImageBitmap': height, width, close
Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'OffscreenCanvas': height, width, convertToBlob, getContext, and 4 more.
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(788,33): error TS2694: Namespace 'PerfUI.FlameChart' has no exported member 'GroupStyle'.
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(862,44): error TS2339: Property 'id' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(865,63): error TS2339: Property 'id' does not exist on type 'Event'.
Expand Down Expand Up @@ -13255,8 +13253,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(855,15): error TS7
node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(861,40): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(1053,38): error TS2339: Property 'checkboxElement' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(1055,20): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/ui/Tooltip.js(12,29): error TS2339: Property 'createChild' does not exist on type 'HTMLBodyElement | HTMLFrameSetElement'.
Property 'createChild' does not exist on type 'HTMLBodyElement'.
node_modules/chrome-devtools-frontend/front_end/ui/Tooltip.js(12,29): error TS2339: Property 'createChild' does not exist on type 'HTMLElement'.
node_modules/chrome-devtools-frontend/front_end/ui/Tooltip.js(15,45): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'.
node_modules/chrome-devtools-frontend/front_end/ui/Tooltip.js(57,27): error TS2339: Property 'path' does not exist on type 'MouseEvent'.
node_modules/chrome-devtools-frontend/front_end/ui/Tooltip.js(85,31): error TS2339: Property 'isSelfOrDescendant' does not exist on type 'Element'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/puppeteer.log
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ lib/Page.js(112,33): error TS2345: Argument of type 'CDPSession' is not assignab
lib/Page.js(189,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Page.js(284,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Page.js(369,20): error TS2503: Cannot find namespace 'Protocol'.
lib/Page.js(432,7): error TS2740: Type '(...args: any[]) => Promise<any>' is missing the following properties from type 'Window': Blob, TextDecoder, TextEncoder, URL, and 231 more.
lib/Page.js(432,7): error TS2740: Type '(...args: any[]) => Promise<any>' is missing the following properties from type 'Window': Blob, TextDecoder, TextEncoder, URL, and 232 more.
lib/Page.js(442,9): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Window' has no compatible call signatures.
lib/Page.js(478,15): error TS2503: Cannot find namespace 'Protocol'.
lib/Page.js(488,22): error TS2503: Cannot find namespace 'Protocol'.
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/user/webpack.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Exit Code: 1
Standard output:
../../../../../built/local/lib.dom.d.ts(17566,19): error TS2451: Cannot redeclare block-scoped variable 'WebAssembly'.
../../../../../built/local/lib.dom.d.ts(17676,19): error TS2451: Cannot redeclare block-scoped variable 'WebAssembly'.
declarations.d.ts(258,15): error TS2451: Cannot redeclare block-scoped variable 'WebAssembly'.


Expand Down

0 comments on commit 002e4d1

Please sign in to comment.