diff --git a/src/printer.js b/src/printer.js index 09e463da97a1..11ede2de2b30 100644 --- a/src/printer.js +++ b/src/printer.js @@ -580,6 +580,14 @@ function genericPrintNoParens(path, options, print) { ); }); + const shouldBreak = util.hasNewlineInRange( + options.originalText, + util.locStart(n), + util.locEnd(n) + ); + + const lineType = shouldBreak ? hardline : options.bracketSpacing ? line : softline; + if (props.length === 0) { return "{}"; } else { @@ -589,7 +597,7 @@ function genericPrintNoParens(path, options, print) { indent( options.tabWidth, concat([ - options.bracketSpacing ? line : softline, + lineType, join(concat([ separator, line ]), props) ]) ), diff --git a/src/util.js b/src/util.js index b07797a0d9ba..d9023671e8f0 100644 --- a/src/util.js +++ b/src/util.js @@ -160,6 +160,15 @@ function hasNewline(text, index, opts) { return idx !== idx2; } +function hasNewlineInRange(text, start, end) { + for (var i = start; i <= end; ++i) { + if (text.charAt(i) === "\n") { + return true; + } + } + return false; +} + function hasSpaces(text, index, opts) { opts = opts || {}; const idx = skipSpaces(text, opts.backwards ? index - 1 : index, opts); @@ -250,6 +259,7 @@ module.exports = { skipToLineEnd, skipNewline, hasNewline, + hasNewlineInRange, hasSpaces, locStart, locEnd, diff --git a/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap b/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap index 12dda2761c11..cd4bc1fb02cc 100644 --- a/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap @@ -20,7 +20,11 @@ exports[`test object.js 1`] = ` "const obj1 = {a:1, b:2, c:3} const obj2 = { a:1, b:2, c:3 }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -const obj1 = { a: 1, b: 2, c: 3 }; +const obj1 = { + a: 1, + b: 2, + c: 3 +}; const obj2 = { a: 1, b: 2, c: 3 }; " `; @@ -29,7 +33,11 @@ exports[`test object.js 2`] = ` "const obj1 = {a:1, b:2, c:3} const obj2 = { a:1, b:2, c:3 }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -const obj1 = {a: 1, b: 2, c: 3}; +const obj1 = { + a: 1, + b: 2, + c: 3 +}; const obj2 = {a: 1, b: 2, c: 3}; " `; diff --git a/tests/comments/__snapshots__/jsfmt.spec.js.snap b/tests/comments/__snapshots__/jsfmt.spec.js.snap index 34040c533ae9..cc6d4dcb30e5 100644 --- a/tests/comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments/__snapshots__/jsfmt.spec.js.snap @@ -152,13 +152,29 @@ export type BuckWebSocketMessage = // Not actually from Buck - this is to let the receiver know that the socket is connected. type: \"SocketConnected\" } - | { type: \"BuildProgressUpdated\", progressValue: number } - | { type: \"BuildFinished\", exitCode: number } - | { type: \"BuildStarted\" } - | { type: \"ParseStarted\" } - | { type: \"ParseFinished\" } - | { type: \"RunStarted\" } - | { type: \"RunComplete\" }; + | { + type: \"BuildProgressUpdated\", + progressValue: number + } + | { + type: \"BuildFinished\", + exitCode: number + } + | { + type: \"BuildStarted\" + } + | { + type: \"ParseStarted\" + } + | { + type: \"ParseFinished\" + } + | { + type: \"RunStarted\" + } + | { + type: \"RunComplete\" + }; // Missing one level of indentation because of the comment const rootEpic = (actions, store) => @@ -351,13 +367,29 @@ export type BuckWebSocketMessage = // Not actually from Buck - this is to let the receiver know that the socket is connected. type: \"SocketConnected\" } - | { type: \"BuildProgressUpdated\", progressValue: number } - | { type: \"BuildFinished\", exitCode: number } - | { type: \"BuildStarted\" } - | { type: \"ParseStarted\" } - | { type: \"ParseFinished\" } - | { type: \"RunStarted\" } - | { type: \"RunComplete\" }; + | { + type: \"BuildProgressUpdated\", + progressValue: number + } + | { + type: \"BuildFinished\", + exitCode: number + } + | { + type: \"BuildStarted\" + } + | { + type: \"ParseStarted\" + } + | { + type: \"ParseFinished\" + } + | { + type: \"RunStarted\" + } + | { + type: \"RunComplete\" + }; // Missing one level of indentation because of the comment const rootEpic = (actions, store) => diff --git a/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap b/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap index 54e281694f48..c1b6751b4efc 100644 --- a/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap @@ -73,7 +73,11 @@ var abig2: Array<{ x: number, y: number }> = [ { x: 0, y: 0, a: true }, { x: 0, y: 0, b: \"hey\" }, { x: 0, y: 0, c: 1 }, - { x: 0, y: 0, c: \"hey\" } + { + x: 0, + y: 0, + c: \"hey\" + } ]; module.exports = \"arrays\"; diff --git a/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap b/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap index 8173c5d8cedd..c8118a6946db 100644 --- a/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap @@ -82,7 +82,11 @@ async function f() { } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface File { readLine(): Promise, close(): void, EOF: boolean } +interface File { + readLine(): Promise, + close(): void, + EOF: boolean +} declare function fileOpen(path: string): Promise; diff --git a/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap b/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap index e15447d7c426..800be2171f9a 100644 --- a/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap @@ -44,7 +44,9 @@ x ^= 0; x &= 0; // regression tests -- OK to assign consts like this: -const { foo } = { foo: \"foo\" }; +const { foo } = { + foo: \"foo\" +}; const [bar] = [\"bar\"]; (foo: number); // error: string ~> number (bar: number); // error: string ~> number diff --git a/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap index c18cf973929e..a90330247093 100644 --- a/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap @@ -10,7 +10,10 @@ function f(x) { (f: F); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -type F = { (x: string): number, p?: string }; +type F = { + (x: string): number, + p?: string +}; function f(x) { return x.length; @@ -49,11 +52,15 @@ foo(Boolean); var dict: { [k: string]: any } = {}; dict(); // error, callable signature not found -interface ICall { (x: string): void } +interface ICall { + (x: string): void +} declare var icall: ICall; icall(0); // error, number ~> string icall.call(null, 0); // error, number ~> string -type Callable = { (x: string): void }; +type Callable = { + (x: string): void +}; declare var callable: Callable; callable(0); // error, number ~> string diff --git a/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap index be76256ba3d0..1eb9b259ee6d 100644 --- a/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap @@ -117,6 +117,12 @@ class E { } // note: above classdefs are sufficiently annotated to export -module.exports = { A: A, B: B, C: C, D: D, E: E }; +module.exports = { + A: A, + B: B, + C: C, + D: D, + E: E +}; " `; diff --git a/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap b/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap index 8841a8d4c736..16eb02f86494 100644 --- a/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap @@ -23,9 +23,17 @@ ColorIdToNumber.XXX; // oops module.exports = { ColorId, ColorNumber }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -var ColorId = { RED: \"R\", GREEN: \"G\", BLUE: \"B\" }; +var ColorId = { + RED: \"R\", + GREEN: \"G\", + BLUE: \"B\" +}; -var ColorNumber = { RED: \"ff0000\", GREEN: \"00ff00\", BLUE: \"0000ff\" }; +var ColorNumber = { + RED: \"ff0000\", + GREEN: \"00ff00\", + BLUE: \"0000ff\" +}; var ColorIdToNumber = { [ColorId.RED]: ColorNumber.RED, @@ -94,7 +102,11 @@ module.exports = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var hello = require(\"./test4\"); var dummy = require(\"./test\"); -module.exports = { ...dummy, [hello]: \"world\", ...dummy }; +module.exports = { + ...dummy, + [hello]: \"world\", + ...dummy +}; " `; diff --git a/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap index b4493be3fb0f..e3c3519b3e64 100644 --- a/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap @@ -44,6 +44,8 @@ module.exports = { * @flow */ -module.exports = { numVal: 42 }; +module.exports = { + numVal: 42 +}; " `; diff --git a/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap index e9327d51fbab..3dd0e157550d 100644 --- a/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap @@ -60,6 +60,8 @@ module.exports = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -module.exports = { numVal: 42 }; +module.exports = { + numVal: 42 +}; " `; diff --git a/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap b/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap index 62ec0efc7576..e3ff68427ba9 100644 --- a/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap @@ -37,7 +37,9 @@ Foo.prototype = { exports.Foo = Foo; // so you want to type Foo, by declaring it as a class -interface IFooPrototype { m(): number } +interface IFooPrototype { + m(): number +} interface IFoo extends IFooPrototype { static (): void, x: boolean /* error, should have declared x: number instead*/, diff --git a/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap index f94682aa0279..1153db682a65 100644 --- a/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap @@ -10,7 +10,10 @@ C.foo(\"\"); (C.name: string); (C.name: number); // error, it\'s a string ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class C { static x: number, static foo(x: number): void } +declare class C { + static x: number, + static foo(x: number): void +} C.x = \"\"; C.foo(\"\"); diff --git a/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap index 912318f3958b..288b46ca50e3 100644 --- a/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap @@ -9,8 +9,14 @@ declare class D extends _module.C { foo(): string; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class _C { foo(): number } -declare var _module: { C: Class<_C> }; -declare class D extends _module.C { foo(): string } +declare class _C { + foo(): number +} +declare var _module: { + C: Class<_C> +}; +declare class D extends _module.C { + foo(): string +} " `; diff --git a/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap index a99d860876fe..207558bdf481 100644 --- a/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap @@ -549,7 +549,9 @@ module.exports = { * @flow */ -module.exports = { numberValue: 42 }; +module.exports = { + numberValue: 42 +}; " `; diff --git a/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap index 6fbd6f3ec02c..6da5947e278b 100644 --- a/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap @@ -43,7 +43,9 @@ declare module \'foo\' { /* @flow */ declare module \"foo\" { - declare class A { toz: number } + declare class A { + toz: number + } declare var n: string; @@ -51,7 +53,9 @@ declare module \"foo\" { declare type Bar = A; declare type Id = T; - declare var exports: { (a: number, b: number): number }; + declare var exports: { + (a: number, b: number): number + }; } " `; diff --git a/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap b/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap index d7150859ab03..46dbdb6cae6e 100644 --- a/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap @@ -174,7 +174,9 @@ obj_rest({ p: { q: 0, r: null } }); function obj_prop_annot( { p = true // error: boolean ~> string - }: { p: string } = { + }: { + p: string + } = { p: 0 // error: number ~> string } ) { @@ -183,7 +185,9 @@ function obj_prop_annot( var { p = true // error: boolean ~> string -}: { p: string } = { +}: { + p: string +} = { p: 0 // error: number ~> string }; (p: void); // error: string ~> void @@ -317,7 +321,9 @@ qux({ a: \"\" }); function corge({ b }: { b: string }) {} corge({ b: 0 }); -var { n }: { n: number } = { n: \"\" }; +var { n }: { n: number } = { + n: \"\" +}; function test() { var { foo } = { bar: 123 }; // error on foo @@ -537,7 +543,11 @@ function bar() { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -var { x } = { x: { foo: \"foo\" } }; +var { x } = { + x: { + foo: \"foo\" + } +}; function bar() { x.bar; diff --git a/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap b/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap index e7a387505244..6a88c1eca9cb 100644 --- a/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap @@ -42,7 +42,9 @@ function foo0( } function foo2( - x: { [key: string]: number } + x: { + [key: string]: number + } ): { [key: string]: number, +toString: () => string } { // x\'s prototype has a toString method return x; diff --git a/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap b/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap index 32613a13a1a9..e524a9cd0fa9 100644 --- a/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap @@ -948,7 +948,10 @@ export type SourceLocation = { source: ?string }; -export type SourcePosition = { line: number, column: number }; +export type SourcePosition = { + line: number, + column: number +}; export type File = { source: ?string, @@ -1455,7 +1458,10 @@ export const builders: { identifier(name: string): Identifier, literal( value: ?(string | boolean | number | RegExp), - regex?: { pattern: string, flags: string } + regex?: { + pattern: string, + flags: string + } ): Literal, thisExpression(): ThisExpression, arrayExpression(elements: Expression[]): ArrayExpression, diff --git a/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap b/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap index 4502ae9cc0c7..de3a41e111a5 100644 --- a/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap @@ -401,9 +401,15 @@ let tests = [ function() { document.registerElement(\"custom-element\", { prototype: Object.create(HTMLElement.prototype, { - createdCallback: { value: function createdCallback() {} }, - attachedCallback: { value: function attachedCallback() {} }, - detachedCallback: { value: function detachedCallback() {} }, + createdCallback: { + value: function createdCallback() {} + }, + attachedCallback: { + value: function attachedCallback() {} + }, + detachedCallback: { + value: function detachedCallback() {} + }, attributeChangedCallback: { value: function attributeChangedCallback( attributeLocalName, diff --git a/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap b/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap index 3e7df21f20dd..a56114e74680 100644 --- a/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap @@ -29,13 +29,23 @@ function union2keys(s: Union): Keys { return s; } // ok /** @flow */ function isActive( - ad: { state: $Keys<{ PAUSED: string, ACTIVE: string, DELETED: string }> } + ad: { + state: $Keys<{ + PAUSED: string, + ACTIVE: string, + DELETED: string + }> + } ): boolean { return ad.state === \"ACTIVE\"; } isActive({ state: \"PAUSE\" }); -var MyStates = { PAUSED: \"PAUSED\", ACTIVE: \"ACTIVE\", DELETED: \"DELETED\" }; +var MyStates = { + PAUSED: \"PAUSED\", + ACTIVE: \"ACTIVE\", + DELETED: \"DELETED\" +}; function isActive2(ad: { state: $Keys }): boolean { return ad.state === MyStates.ACTIVE; } diff --git a/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap index 6fac2cab34d7..12b0a391a57d 100644 --- a/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap @@ -88,7 +88,9 @@ module.exports = Object.freeze({ * @flow */ -module.exports = Object.freeze({ numberValue1: 1 }); +module.exports = Object.freeze({ + numberValue1: 1 +}); " `; @@ -647,7 +649,9 @@ module.exports = { * @flow */ -module.exports = { numberValue: 42 }; +module.exports = { + numberValue: 42 +}; " `; diff --git a/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap index eb2f0a164a0f..c0b42de4ae56 100644 --- a/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap @@ -28,7 +28,9 @@ declare module \"CJS_Named\" { declare module \"CJS_Clobbered\" { declare var num2: number; declare type numType = number; - declare var exports: { numExport: number }; + declare var exports: { + numExport: number + }; } declare module \"ES\" { declare var strHidden: string; diff --git a/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap b/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap index 0481d54caca6..23de20903a18 100644 --- a/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap @@ -59,11 +59,9 @@ let tests = [ function(copyProperties: Object$Assign) { let result = {}; result.baz = false; - (copyProperties(result, { foo: \"a\" }, { bar: 123 }): { - foo: string, - bar: number, - baz: boolean - }); + (copyProperties(result, { foo: \"a\" }, { + bar: 123 + }): { foo: string, bar: number, baz: boolean }); }, // module from lib function() { diff --git a/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap b/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap index 827e824d90c6..188794951868 100644 --- a/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap @@ -37,7 +37,9 @@ const a: Promise = fetch(myRequest).then(response => response.text()); const b: Promise = fetch(myRequest); // incorrect var myInit = { method: \"GET\", - headers: { \"Content-Type\": \"image/jpeg\" }, + headers: { + \"Content-Type\": \"image/jpeg\" + }, mode: \"cors\", cache: \"default\" }; @@ -168,13 +170,17 @@ const f: Request = new Request({}); // incorrect const g: Request = new Request(\"http://example.org\", {}); // correct const h: Request = new Request(\"http://example.org\", { method: \"GET\", - headers: { \"Content-Type\": \"image/jpeg\" }, + headers: { + \"Content-Type\": \"image/jpeg\" + }, mode: \"cors\", cache: \"default\" }); // correct const i: Request = new Request(\"http://example.org\", { method: \"POST\", - headers: { \"Content-Type\": \"image/jpeg\" }, + headers: { + \"Content-Type\": \"image/jpeg\" + }, body: new URLSearchParams(\"key=value\"), mode: \"cors\", cache: \"default\" @@ -187,7 +193,9 @@ const j: Request = new Request(\"http://example.org\", { }); // incorrect - headers is string const k: Request = new Request(\"http://example.org\", { method: \"CONNECT\", - headers: { \"Content-Type\": \"image/jpeg\" }, + headers: { + \"Content-Type\": \"image/jpeg\" + }, mode: \"cors\", cache: \"default\" }); // incorrect - CONNECT is forbidden @@ -252,23 +260,33 @@ h.arrayBuffer().then((ab: Buffer) => ab); // incorrect const a: Response = new Response(); // correct const b: Response = new Response(new Blob()); // correct const c: Response = new Response(new FormData()); // correct -const d: Response = new Response(new FormData(), { status: 404 }); // correct -const e: Response = new Response(\"responsebody\", { status: \"404\" }); // incorrect +const d: Response = new Response(new FormData(), { + status: 404 +}); // correct +const e: Response = new Response(\"responsebody\", { + status: \"404\" +}); // incorrect const f: Response = new Response(\"responsebody\", { status: 404, headers: \"\'Content-Type\': \'image/jpeg\'\" }); // incorrect const g: Response = new Response(\"responsebody\", { status: 404, - headers: { \"Content-Type\": \"image/jpeg\" } + headers: { + \"Content-Type\": \"image/jpeg\" + } }); // correct const h: Response = new Response(\"responsebody\", { status: 404, - headers: new Headers({ \"Content-Type\": \"image/jpeg\" }) + headers: new Headers({ + \"Content-Type\": \"image/jpeg\" + }) }); // correct, if verbose const i: Response = new Response({ status: 404, - headers: new Headers({ \"Content-Type\": \"image/jpeg\" }) + headers: new Headers({ + \"Content-Type\": \"image/jpeg\" + }) }); // incorrect const ok: boolean = h.ok; const status: number = h.status; diff --git a/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap index 7c3207f1eaec..0148af3d9f33 100644 --- a/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap @@ -125,7 +125,9 @@ export function givesAFoo3Obj(): AliasFoo3 { * @flow */ -export type AliasFoo3 = { givesANum(): number }; +export type AliasFoo3 = { + givesANum(): number +}; export function givesAFoo3Obj(): AliasFoo3 { return { givesANum(): number { diff --git a/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap b/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap index c55b868d8c28..3d7c7fa68a8a 100644 --- a/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap @@ -124,7 +124,9 @@ export function givesAFoo3Obj(): AliasFoo3 { * @flow */ -export type AliasFoo3 = { givesANum(): number }; +export type AliasFoo3 = { + givesANum(): number +}; export function givesAFoo3Obj(): AliasFoo3 { return { givesANum(): number { diff --git a/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap b/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap index e1b606541311..a41597fa9d0d 100644 --- a/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap @@ -41,42 +41,58 @@ function foo7(): {[key: string]: number; foo: number} { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // No indexer should be fine function foo0(): {} { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // Matching indexer should be fine function foo1(): { [key: string]: string } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // Indexer with different key type is an error when it matches function foo2(): { [key: number]: string } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // Matching indexer with different value type is an error function foo3(): { [key: string]: number } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // Indexer with different key type and different value type is twice an error function foo4(): { [key: number]: number } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // If key exists in object type then indexer is not matched function foo5(): { [key: string]: number, foo: string } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // If key exists in object type then indexer is not matched function foo6(): { [key: number]: number, foo: string } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } // Should still complain about mistyped properties function foo7(): { [key: string]: number, foo: number } { - return { foo: \"bar\" }; + return { + foo: \"bar\" + }; } " `; diff --git a/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap b/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap index 8dfede79adfd..1a67b3bd39b7 100644 --- a/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap @@ -2,7 +2,9 @@ exports[`test import.js 1`] = ` "interface I { x: number } export type J = I; // workaround for export interface ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface I { x: number } +interface I { + x: number +} export type J = I; // workaround for export interface " `; @@ -21,7 +23,9 @@ interface Bad { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -interface Ok { [key: string]: string } +interface Ok { + [key: string]: string +} interface Bad { [k1: string]: string, @@ -44,11 +48,15 @@ function testInterfaceName(o: I) { (o.constructor.name: string); // ok } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class C { x: number } +declare class C { + x: number +} var x: string = new C().x; -interface I { x: number } +interface I { + x: number +} var i = new I(); // error function testInterfaceName(o: I) { @@ -82,8 +90,12 @@ var e: E = { x: \"\", y: \"\", z: \"\" }; // error: x and z should be nu (e.y: string); (e.z: string); // error: z is number ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface I { y: string } -interface I_ { x: number } +interface I { + y: string +} +interface I_ { + x: number +} interface J extends I, I_ {} interface K extends J {} @@ -91,12 +103,20 @@ var k: K = { x: \"\", y: \"\" }; // error: x should be number (k.x: string); // error: x is number (k.y: string); -declare class C { x: number } +declare class C { + x: number +} declare class D extends C, Other {} // error: multiple extends //declare class E implements I { } // parse error -interface A { y: Y } -interface A_ { x: X } -interface B extends A, A_ { z: Z } +interface A { + y: Y +} +interface A_ { + x: X +} +interface B extends A, A_ { + z: Z +} interface E extends B {} var e: E = { x: \"\", y: \"\", z: \"\" }; // error: x and z should be numbers @@ -120,7 +140,9 @@ function bar(m: M) { m.x; m.y; m.z; } // OK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import type { J } from \"./import\"; interface K {} -interface L extends J, K { y: string } +interface L extends J, K { + y: string +} function foo(l: L) { l.x; @@ -128,7 +150,12 @@ function foo(l: L) { l.z; } // error: z not found in L // interface + multiple inheritance is similar to object type + intersection -type M = { y: string } & J & { z: boolean }; +type M = + & { y: string } + & J + & { + z: boolean + }; function bar(m: M) { m.x; @@ -147,8 +174,13 @@ function foo(k: K) { (k.y: number); // error: y is string in I } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface I { x: number, y: string } -interface J { y: number } +interface I { + x: number, + y: string +} +interface J { + y: number +} interface K extends I, J { x: string } // error: x is number in I function foo(k: K) { (k.x: number); // error: x is string in K @@ -168,9 +200,14 @@ declare class C { new C().bar((x: string) => { }); // error, number ~/~> string ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface I { foo(x: number): void } +interface I { + foo(x: number): void +} (function foo(x: number) {}: I); // error, property \`foo\` not found function -declare class C { bar(i: I): void, bar(f: (x: number) => void): void } +declare class C { + bar(i: I): void, + bar(f: (x: number) => void): void +} new C().bar((x: string) => {}); // error, number ~/~> string " diff --git a/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap b/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap index bc563ba6a10b..ddd0657bb6c9 100644 --- a/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap @@ -26,7 +26,9 @@ var e: React.Element<{not_a_real_attr: string}> =
= ; diff --git a/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap b/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap index 31a20bf43d00..b58a02ba9419 100644 --- a/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap @@ -22,7 +22,9 @@ var d: React.Element<{id: number}> =
; // Error: Props<{id:st var React = require(\"react\"); class CustomComponent extends React.Component { - props: { prop: string }; + props: { + prop: string + }; } var a: React.Element<{ prop: string }> = ; diff --git a/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap b/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap index e99b021c0368..01e79db6e147 100644 --- a/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap @@ -7,7 +7,12 @@ interface CArrays extends C> { bar(): C; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface C { foo(): CArrays, bar(): C } -interface CArrays extends C> { bar(): C } +interface C { + foo(): CArrays, + bar(): C +} +interface CArrays extends C> { + bar(): C +} " `; diff --git a/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap b/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap index 747110998ae8..4e51c1e85101 100644 --- a/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap @@ -6,7 +6,10 @@ exports[`test enum.js 1`] = ` module.exports = APIKeys; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -var APIKeys = { AGE: \"age\", NAME: \"name\" }; +var APIKeys = { + AGE: \"age\", + NAME: \"name\" +}; module.exports = APIKeys; " diff --git a/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap b/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap index 2d0864ad6b18..77acfb261b67 100644 --- a/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap @@ -9,7 +9,9 @@ export {Foo}; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -declare class Foo { bar?: () => string } +declare class Foo { + bar?: () => string +} export { Foo }; " diff --git a/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap b/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap index c3f2e0dbc224..a1ca033cb358 100644 --- a/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap @@ -147,7 +147,9 @@ module.exports = {obj: o}; /* @providesModule E */ function h(x: number) {} -var proto = { fn: h }; +var proto = { + fn: h +}; var o = Object.create(proto); o.fn(false); diff --git a/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap b/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap index d02348e0d7cc..4796d709994f 100644 --- a/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap @@ -99,15 +99,25 @@ var Foo = { b: function( arg // missing arg annotation ) { - return { bar: arg }; + return { + bar: arg + }; }, c: function( arg: string // no return annotation required ) { - return { bar: arg }; + return { + bar: arg + }; }, - d: function(arg: string): { bar: string } { - return { bar: arg }; + d: function( + arg: string + ): { + bar: string + } { + return { + bar: arg + }; }, // return type annotation may be omitted, but if so, input positions on // observed return type (e.g. param types in a function type) must come diff --git a/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap index eb6ae489ec7d..bdddec7ce080 100644 --- a/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap @@ -21,7 +21,9 @@ o3.w = o2; module.exports = o3; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var o1 = { x: 0, y: \"\" }; -var o2 = { z: o1 }; +var o2 = { + z: o1 +}; var o3 = {}; o3.w = o2; diff --git a/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap index c7a589a9ac41..449b72a5f233 100644 --- a/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap @@ -106,7 +106,9 @@ function goofy() { } function goofy2() { - var o = { x: 0 }; + var o = { + x: 0 + }; if (typeof o.x == \"function\") { o.x(); } diff --git a/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap index c147940c2ee3..db93f0e86833 100644 --- a/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap @@ -156,10 +156,15 @@ var D = React.createClass({ var React = require(\"React\"); var C = React.createClass({ - propTypes: { title: React.PropTypes.string.isRequired } + propTypes: { + title: React.PropTypes.string.isRequired + } }); var D = React.createClass({ - propTypes: { name: React.PropTypes.string.isRequired, ...C.propTypes } + propTypes: { + name: React.PropTypes.string.isRequired, + ...C.propTypes + } }); {} // error @@ -332,11 +339,15 @@ Foo.bar(); var FooLegacy = React.createClass({ is_mounted: (undefined: ?boolean), - propTypes: { x: React.PropTypes.number.isRequired }, + propTypes: { + x: React.PropTypes.number.isRequired + }, getDefaultProps(): DefaultProps { return {}; }, - statics: { bar(): void {} }, + statics: { + bar(): void {} + }, qux(): void { var _: string = this.props.x; }, @@ -498,12 +509,10 @@ var PropTypes = React.PropTypes; var C = React.createClass({ propTypes: { - statistics: PropTypes.arrayOf( - PropTypes.shape({ + statistics: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string.isRequired, value: PropTypes.number - }) - ).isRequired + })).isRequired } }); @@ -546,9 +555,15 @@ var FooProps = React.createClass({ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var React = require(\"react\"); var TestProps = React.createClass({ - propTypes: { x: React.PropTypes.string, z: React.PropTypes.number }, + propTypes: { + x: React.PropTypes.string, + z: React.PropTypes.number + }, getDefaultProps: function() { - return { x: \"\", y: 0 }; + return { + x: \"\", + y: 0 + }; }, test: function() { var a: number = this.props.x; // error @@ -561,7 +576,9 @@ var element = ; // 3 errors (element: $jsx<*>); (element: $jsx); var FooProps = React.createClass({ - propTypes: { w: React.PropTypes.string.isRequired } + propTypes: { + w: React.PropTypes.string.isRequired + } }); (element: $jsx); " @@ -748,7 +765,9 @@ import React from \"React\"; class JDiv extends React.Component { // static defaultProps: { }; - props: { id: string }; + props: { + id: string + }; } /* Should be a type error (\'id\' takes a string, not a number..)*/ @@ -818,7 +837,9 @@ var ReactClass = React.createClass({ var React = require(\"react\"); -type State = { bar: ?{ qux: string } }; +type State = { + bar: ?{ qux: string } +}; var ReactClass = React.createClass({ getInitialState: function(): State { @@ -860,7 +881,9 @@ module.exports = Comp; var React = require(\"react\"); -type FooState = { key: ?Object }; +type FooState = { + key: ?Object +}; var Comp = React.createClass({ getInitialState: function(): FooState { @@ -897,7 +920,9 @@ var TestState = React.createClass({ var React = require(\"react\"); var TestState = React.createClass({ getInitialState: function(): { x: string } { - return { x: \"\" }; + return { + x: \"\" + }; }, test: function() { var a: number = this.state.x; // error diff --git a/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap index 95ce6a3daf93..e8c294c95a53 100644 --- a/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap @@ -7,6 +7,8 @@ module.exports = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -module.exports = { foo: 123 }; +module.exports = { + foo: 123 +}; " `; diff --git a/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap index 48dddc9d93a8..1c1673f46fa8 100644 --- a/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap @@ -17,7 +17,9 @@ import type { ObjectType } from \'./test\'; function subtypeCheck(x: Interface): ObjectType { return x; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface Interface { m(): void } +interface Interface { + m(): void +} import type { ObjectType } from \"./test\"; function subtypeCheck(x: Interface): ObjectType { @@ -43,7 +45,9 @@ module.exports = id( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const id = require(\"./id\"); -export type ObjectType = { +m: () => void }; +export type ObjectType = { + +m: () => void +}; function methodCaller(x: ObjectType) { x.m(); @@ -78,9 +82,14 @@ function f() { return this.p; } -var a = { p: 0, f }; +var a = { + p: 0, + f +}; -var b = { f }; +var b = { + f +}; a.f(); // okey-dokie b.f(); // error, property \`p\` not found diff --git a/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap index 6b420335d763..eca2b087f2c0 100644 --- a/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap @@ -104,7 +104,9 @@ class C { ({ foo: \"foo\" }: C); // error, object types don\'t structurally match instances -type O = { foo: string }; +type O = { + foo: string +}; declare var o: O; (o: C); " diff --git a/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap index 66ce9168b667..8a05e651e70c 100644 --- a/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap @@ -52,7 +52,10 @@ var Good = Object.assign({}, MyEventEmitter.prototype, { // Calling Good.foo() in the same file doesn\'t error var good: number = Good.foo(); -module.exports = { Bad: Bad, Good: Good }; +module.exports = { + Bad: Bad, + Good: Good +}; " `; @@ -151,9 +154,13 @@ class MyReactThing extends React.Component { var React = require(\"react\"); -type DefaultProps = { foo: number }; +type DefaultProps = { + foo: number +}; -type Props = { foo: number }; +type Props = { + foo: number +}; class MyReactThing extends React.Component { props: Props; diff --git a/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap b/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap index 393bf75fbc90..ecf4f6d084d6 100644 --- a/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap @@ -21,11 +21,17 @@ promiseAllByKey({ declare function promiseAllByKey(o: O): Promise<$ObjMap>; declare function keyMirror(o: O): $ObjMapi(k: K) => K>; -var o = keyMirror({ FOO: null, BAR: null }); +var o = keyMirror({ + FOO: null, + BAR: null +}); (o.FOO: \"FOO\"); // ok (o.FOO: \"BAR\"); // error, \'FOO\' incompatible with \'BAR\' -promiseAllByKey({ foo: Promise.resolve(0), bar: \"bar\" }).then(o => { +promiseAllByKey({ + foo: Promise.resolve(0), + bar: \"bar\" +}).then(o => { (o.foo: string); // error, number ~> string (o.bar: \"bar\"); // ok }); diff --git a/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap b/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap index ff2efd47d339..4462c0c8b3ff 100644 --- a/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap @@ -279,7 +279,9 @@ exports[`test optional_param2.js 1`] = ` var i:I = new I(); var j:I = i.map(id => id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class I { map(mapper: (value?: V) => M): I } +declare class I { + map(mapper: (value?: V) => M): I +} var i: I = new I(); var j: I = i.map(id => id); " diff --git a/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap b/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap index 4f2a44086ac7..82a01d971307 100644 --- a/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap @@ -123,7 +123,10 @@ var foo = new Foo; (foo.bar(\'hmm\'): number); // OK (foo.bar(\'hmmm\'): number); // error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class Foo { bar(x: \"hmm\"): number, bar(x: string): string } +declare class Foo { + bar(x: \"hmm\"): number, + bar(x: string): string +} var foo = new Foo(); (foo.bar(\"hmm\"): number); // OK (foo.bar(\"hmmm\"): number); // error diff --git a/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap b/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap index a2fe28099eea..f36792e2f53e 100644 --- a/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap @@ -18,6 +18,9 @@ var z: { var x = \"Test\"; var y = 5 / x; -var z: { type: number, y: string } = { type: 1, y: \"hey\" }; +var z: { + type: number, + y: string +} = { type: 1, y: \"hey\" }; " `; diff --git a/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap b/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap index c00406fa22ee..f0467eed1a93 100644 --- a/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap @@ -143,9 +143,13 @@ function bar(foo: Foo, y: S): Foo { return new Foo(y); } -var P = { bar: bar }; +var P = { + bar: bar +}; -declare var Q: { bar(foo: Foo, y: S): Foo }; +declare var Q: { + bar(foo: Foo, y: S): Foo +}; var foo = new Foo(0); var x: string = foo.x; diff --git a/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap b/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap index b6eae8e731a4..c979e0522702 100644 --- a/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap @@ -17,9 +17,13 @@ interface B extends A { } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface Some {} -interface Other { x: X } +interface Other { + x: X +} interface None {} -interface Nada { y: Y } +interface Nada { + y: Y +} interface A { foo(s: Some, e: None): A, foo(s: Some, e: Nada): A, diff --git a/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap index 8e2f4d3aff92..c35338208982 100644 --- a/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap @@ -60,11 +60,26 @@ declare function my_filter>( cb: P ): Array<$Refine>; -type A = { kind: \"A\", u: number }; -type B = { kind: \"B\", v: string }; -type C = { kind: \"C\", y: boolean }; -type D = { kind: \"D\", x: boolean }; -type E = { kind: \"E\", y: boolean }; +type A = { + kind: \"A\", + u: number +}; +type B = { + kind: \"B\", + v: string +}; +type C = { + kind: \"C\", + y: boolean +}; +type D = { + kind: \"D\", + x: boolean +}; +type E = { + kind: \"E\", + y: boolean +}; declare var ab: Array; @@ -249,11 +264,26 @@ declare function my_filter>( cb: P ): Array<$Refine>; -type A = { kind: \"A\", u: number }; -type B = { kind: \"B\", v: string }; -type C = { kind: \"C\", y: boolean }; -type D = { kind: \"D\", x: boolean }; -type E = { kind: \"E\", y: boolean }; +type A = { + kind: \"A\", + u: number +}; +type B = { + kind: \"B\", + v: string +}; +type C = { + kind: \"C\", + y: boolean +}; +type D = { + kind: \"D\", + x: boolean +}; +type E = { + kind: \"E\", + y: boolean +}; declare var ab: Array; diff --git a/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap index b8ff721d05be..5706a57108ba 100644 --- a/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap @@ -247,9 +247,14 @@ function f(_this: { m: ?Meeting }): string { // Sanity check: // - preserving \`havoc\` semantics -type Meeting = { organizer: ?Invitee, es: Array }; +type Meeting = { + organizer: ?Invitee, + es: Array +}; -type Invitee = { fbid: number }; +type Invitee = { + fbid: number +}; function f(_this: { m: ?Meeting }): string { if (!_this.m) { diff --git a/tests/flow/react/__snapshots__/jsfmt.spec.js.snap b/tests/flow/react/__snapshots__/jsfmt.spec.js.snap index 94b7025d70e8..9fbf4260c22d 100644 --- a/tests/flow/react/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/react/__snapshots__/jsfmt.spec.js.snap @@ -80,7 +80,9 @@ class Foo extends React.Component { import React from \"react\"; class Bar extends React.Component { - props: { test: number }; + props: { + test: number + }; render() { return (
@@ -135,7 +137,9 @@ var blah = ; // error bar, number given string expected var React = require(\"react\"); var Foo = React.createClass({ - propTypes: { bar: React.PropTypes.string.isRequired } + propTypes: { + bar: React.PropTypes.string.isRequired + } }); var props = { bar: 42 }; @@ -163,7 +167,9 @@ var fail_mistyped_elems = var React = require(\"react\"); var Example = React.createClass({ - propTypes: { arr: React.PropTypes.arrayOf(React.PropTypes.number).isRequired } + propTypes: { + arr: React.PropTypes.arrayOf(React.PropTypes.number).isRequired + } }); var ok_empty = ; @@ -194,7 +200,9 @@ var fail_mistyped = var React = require(\"react\"); var Example = React.createClass({ - propTypes: { func: React.PropTypes.func.isRequired } + propTypes: { + func: React.PropTypes.func.isRequired + } }); var ok_void = {}} />; @@ -290,7 +298,9 @@ var fail_mistyped = var React = require(\"react\"); var Example = React.createClass({ - propTypes: { object: React.PropTypes.object.isRequired } + propTypes: { + object: React.PropTypes.object.isRequired + } }); var ok_empty = ; @@ -350,7 +360,9 @@ var ex2 = ; var React = require(\"react\"); var Example = React.createClass({ - propTypes: { literal: React.PropTypes.oneOf([\"foo\"]).isRequired } + propTypes: { + literal: React.PropTypes.oneOf([\"foo\"]).isRequired + } }); var ex1 = ; diff --git a/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap index 8ab1ea3bb37f..ba3959574065 100644 --- a/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap @@ -31,7 +31,9 @@ var React = require(\"react\"); var Hello = require(\"./createclass-module\"); var HelloLocal = React.createClass({ - propTypes: { name: React.PropTypes.string.isRequired }, + propTypes: { + name: React.PropTypes.string.isRequired + }, render: function(): React.Element<*> { return
{this.props.name}
; } @@ -72,7 +74,9 @@ module.exports = Hello; var React = require(\"react\"); var Hello = React.createClass({ - propTypes: { name: React.PropTypes.string.isRequired }, + propTypes: { + name: React.PropTypes.string.isRequired + }, render: function(): React.Element<*> { return
{this.props.name}
; } diff --git a/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap b/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap index 3db5ad9c2409..3842864f1086 100644 --- a/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap @@ -21,7 +21,9 @@ function identity
(val: A): Functor { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -type F = { foo(x: A): F }; +type F = { + foo(x: A): F +}; declare function foo(x: any): F; ({ foo }: F); @@ -35,7 +37,9 @@ function bar2(y: F): F { return y; } -type Functor = { map(f: (val: A) => B): Functor }; +type Functor = { + map(f: (val: A) => B): Functor +}; function identity(val: A): Functor { return { @@ -198,7 +202,9 @@ function foo(x: I): J { // I and J both expand to () => () => ... } -type Q = { x: X }; +type Q = { + x: X +}; type P = () => Q>; function bar(x: P): () => P { diff --git a/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap index 1d76eff3ee60..11e17f61adcf 100644 --- a/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap @@ -208,7 +208,13 @@ export const LIFE = 42; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -export type Action = { type: \"FOO\" } | { type: \"BAR\" }; +export type Action = + | { + type: \"FOO\" + } + | { + type: \"BAR\" + }; export const LIFE = 42; " diff --git a/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap index 5cd4c3eefcf3..b82e5435d542 100644 --- a/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap @@ -10,7 +10,13 @@ export const LIFE = 42; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -export type Action = { type: \"QUX\" } | { type: \"BAR\" }; +export type Action = + | { + type: \"QUX\" + } + | { + type: \"BAR\" + }; export const LIFE = 42; " diff --git a/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap index 6e7d6813c32d..dc3fbcf8d69e 100644 --- a/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap @@ -10,7 +10,13 @@ export const LIFE = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -export type Action = { type: \"QUX\" } | { type: \"BAR\" }; +export type Action = + | { + type: \"QUX\" + } + | { + type: \"BAR\" + }; export const LIFE = 0; " diff --git a/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap b/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap index b94a466cc019..390896972d96 100644 --- a/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap @@ -41,7 +41,10 @@ function foo(x: ?number) { } } -type Bar = { parent: ?Bar, doStuff(): void }; +type Bar = { + parent: ?Bar, + doStuff(): void +}; function bar0(x: Bar) { while ( @@ -81,9 +84,15 @@ type Node2 = { export type ASTNode = Node1 | Node2; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -type Node1 = { kind: \"Node1\", prop1?: string }; +type Node1 = { + kind: \"Node1\", + prop1?: string +}; -type Node2 = { kind: \"Node2\", prop2?: string }; +type Node2 = { + kind: \"Node2\", + prop2?: string +}; export type ASTNode = Node1 | Node2; " @@ -208,7 +217,9 @@ function testLiteralProperty(a: A) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -type A = { \"b_c\": ?string }; +type A = { + \"b_c\": ?string +}; function stuff(str: string) {} @@ -307,7 +318,15 @@ let tests = [ return x.result; // error }, function() { - type T = { foo: Object, bar: string } | { baz: string, quux: string }; + type T = + | { + foo: Object, + bar: string + } + | { + baz: string, + quux: string + }; function testAlwaysTruthyProp(t: T) { if (t.foo) { @@ -414,7 +433,9 @@ function foo2(x: ?Class): string { return x && new x().foo || \"\"; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class Foo { foo: string } +declare class Foo { + foo: string +} function foo0(x: ?string): string { return x && x || \"\"; @@ -594,7 +615,9 @@ function def_assign_setprop_nohavoc(obj: Obj, obj2: Obj2) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @flow -type Obj = { p: number | string }; +type Obj = { + p: number | string +}; function f() {} @@ -668,7 +691,9 @@ function def_assign_within_for(b: boolean, obj: Obj) { } // --- name-sensitive havoc --- -type Obj2 = { q: number | string }; +type Obj2 = { + q: number | string +}; function def_assign_setprop_nohavoc(obj: Obj, obj2: Obj2) { obj.p = 10; // (obj.p : number) @@ -1377,7 +1402,14 @@ let tests = [ } return x.foo; // error }, - function(x: { kind: 0, foo: number } | { kind: 1, bar: number }): number { + function( + x: + | { kind: 0, foo: number } + | { + kind: 1, + bar: number + } + ): number { if (x.kind === 0) { return x.foo; } else { @@ -1959,7 +1991,12 @@ let tests = [ return x.foo; // error }, function( - x: { kind: \"foo\", foo: string } | { kind: \"bar\", bar: string } + x: + | { kind: \"foo\", foo: string } + | { + kind: \"bar\", + bar: string + } ): string { if (x.kind === \"foo\") { return x.foo; @@ -2454,10 +2491,24 @@ function foo(x: ASTNode) { } // example 3 -type Apple = { kind: \"Fruit\", taste: \"Bad\" }; -type Orange = { kind: \"Fruit\", taste: \"Good\" }; -type Broccoli = { kind: \"Veg\", taste: \"Bad\", raw: \"No\" }; -type Carrot = { kind: \"Veg\", taste: \"Good\", raw: \"Maybe\" }; +type Apple = { + kind: \"Fruit\", + taste: \"Bad\" +}; +type Orange = { + kind: \"Fruit\", + taste: \"Good\" +}; +type Broccoli = { + kind: \"Veg\", + taste: \"Bad\", + raw: \"No\" +}; +type Carrot = { + kind: \"Veg\", + taste: \"Good\", + raw: \"Maybe\" +}; type Breakfast = Apple | Orange | Broccoli | Carrot; @@ -2513,7 +2564,10 @@ kind({ kind: EnumKind.A, A: 1 }); // example 6 type Citizen = { citizen: true }; -type NonCitizen = { citizen: false, nationality: string }; +type NonCitizen = { + citizen: false, + nationality: string +}; function nationality(x: Citizen | NonCitizen) { if (x.citizen) return \"Shire\"; else return x.nationality; @@ -2722,9 +2776,15 @@ function handleStatus(status: Success | Error) { import { SUCCESS, ERROR } from \"./constants\"; -type Success = { type: typeof SUCCESS, message: string }; +type Success = { + type: typeof SUCCESS, + message: string +}; -type Error = { type: typeof ERROR, error: string }; +type Error = { + type: typeof ERROR, + error: string +}; function handleStatus(status: Success | Error) { switch (status.type) { diff --git a/tests/flow/require/__snapshots__/jsfmt.spec.js.snap b/tests/flow/require/__snapshots__/jsfmt.spec.js.snap index c6f3d4d266d4..bbe91eae76a3 100644 --- a/tests/flow/require/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/require/__snapshots__/jsfmt.spec.js.snap @@ -33,7 +33,9 @@ exports = {stringValue: \'\'}; // Local \`exports\` var is just a ref to module.exports, so mutating the original // value will affect the exports object but re-binding it makes it useless and // does not affect the exports value. -module.exports = { numberValue: 42 }; +module.exports = { + numberValue: 42 +}; exports = { stringValue: \"\" }; " diff --git a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap index 89ce38d1edd0..774573a3b0fb 100644 --- a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap @@ -14,7 +14,10 @@ module.exports = { * @flow */ -module.exports = { numberValueA: 1, stringValueA: \"someString\" }; +module.exports = { + numberValueA: 1, + stringValueA: \"someString\" +}; " `; @@ -34,7 +37,10 @@ module.exports = { * @flow */ -module.exports = { numberValueB: 1, stringValueB: \"someString\" }; +module.exports = { + numberValueB: 1, + stringValueB: \"someString\" +}; " `; diff --git a/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap b/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap index c880f183af3d..7877cdffc295 100644 --- a/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap @@ -7,7 +7,9 @@ var x: {field?: number} = {}; var y: $Shape = x; (y.field: number) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -type Foo = { field: number }; +type Foo = { + field: number +}; var x: { field?: number } = {}; var y: $Shape = x; diff --git a/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap b/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap index c072fc56599b..c1ae11a20c78 100644 --- a/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap @@ -40,10 +40,19 @@ function parseCounter(line: string): number { function parseGroup( lines: Array -): { counter: number, begin: number, end: number, text: string } { +): { + counter: number, + begin: number, + end: number, + text: string +} { var counter = parseCounter(lines[0]); var timeframe = parseTimeframe(lines[1]); - return { counter, ...timeframe, text: lines[2] }; + return { + counter, + ...timeframe, + text: lines[2] + }; } function parseTimeframe(line: string): { begin: number, end: number } { @@ -100,13 +109,20 @@ var t: boolean = s.y; // error, string or number ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ var p = { y: \"\" }; var q = { z: \"\" }; -var o = { x: 5, ...p, ...q }; +var o = { + x: 5, + ...p, + ...q +}; var y: number = o.y; var z: number = o.z; // test conflicting keys (they get unioned) var r = { y: 123 }; -var s = { ...p, ...r }; +var s = { + ...p, + ...r +}; var t: boolean = s.y; // error, string or number " `; @@ -166,11 +182,16 @@ declare function map( */ function test( x: { kind: ?string }, - kinds: { [key: string]: string } + kinds: { + [key: string]: string + } ): Array<{ kind: ?string }> { return map(kinds, value => { (value: string); // OK - return { ...x, kind: value }; + return { + ...x, + kind: value + }; }); } " @@ -198,16 +219,22 @@ for (var i = 0; i < 10; i++) { } (q: {foo: string}); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -var o = { foo: \"bar\" }; +var o = { + foo: \"bar\" +}; o = { ...o }; (o: { foo: string }); -var p = { foo: \"bar\" }; +var p = { + foo: \"bar\" +}; (p: { foo: string, abc: string }); // error, p doesn\'t have \`abc\` yet p = { ...p, abc: \"def\" }; (p: { foo: string, abc: string }); -var q = { foo: \"bar\" }; +var q = { + foo: \"bar\" +}; for (var i = 0; i < 10; i++) { q = { ...q }; } diff --git a/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap index b3211cedcc1b..a89c1aa8ce23 100644 --- a/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap @@ -77,7 +77,9 @@ module.exports = o; // progressively annotate: -var o = { x: 0 }; +var o = { + x: 0 +}; //var o: {x: number;} = { x: 0 } var x: string = o.x; diff --git a/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap b/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap index c7ecb582c516..46485a833f8d 100644 --- a/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap @@ -12,7 +12,9 @@ exports[`test B.js 1`] = ` module.exports = { foo: \"\" } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -module.exports = { foo: \"\" }; +module.exports = { + foo: \"\" +}; " `; @@ -25,7 +27,10 @@ var o = { module.exports = o; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -var o = { A: require(\"./A\"), ...require(\"./B\") }; +var o = { + A: require(\"./A\"), + ...require(\"./B\") +}; module.exports = o; " `; diff --git a/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap b/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap index 30f9b776d7a9..1040b11d2237 100644 --- a/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap @@ -16,7 +16,9 @@ var lengthTest4: IHasLength = true; // bool doesn\'t have length * @flow */ -interface IHasLength { length: number } +interface IHasLength { + length: number +} var lengthTest1: IHasLength = []; var lengthTest2: IHasLength = \"hello\"; @@ -58,11 +60,17 @@ class ClassWithXString { x: string; } -interface IHasXString { x: string } +interface IHasXString { + x: string +} -interface IHasXNumber { x: number } +interface IHasXNumber { + x: number +} -interface IHasYString { y: string } +interface IHasYString { + y: string +} var testInstance1: IHasXString = new ClassWithXString(); var testInstance2: IHasXNumber = new ClassWithXString(); // Error wrong type @@ -96,7 +104,9 @@ function propTest6(y: {[key: string]: number}) { * @flow */ -interface IHasXString { x: string } +interface IHasXString { + x: string +} var propTest1: IHasXString = { x: \"hello\" }; var propTest2: IHasXString = { x: 123 }; // Error string != number @@ -129,9 +139,14 @@ var test3: HasOptional = { a: \"hello\", b: true }; // Error: boolean ~> number ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -interface HasOptional { a: string, b?: number } +interface HasOptional { + a: string, + b?: number +} -var test1: HasOptional = { a: \"hello\" }; +var test1: HasOptional = { + a: \"hello\" +}; var test2: HasOptional = {}; // Error: missing property a var test3: HasOptional = { a: \"hello\", b: true }; // Error: boolean ~> number diff --git a/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap b/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap index 36cbc18c3ab7..1279e8650be5 100644 --- a/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap @@ -1,14 +1,18 @@ exports[`test bar.js 1`] = ` "export type Foo = { x: number; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -export type Foo = { x: number }; +export type Foo = { + x: number +}; " `; exports[`test foo.js 1`] = ` "export type Foo = { x: number; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -export type Foo = { x: number }; +export type Foo = { + x: number +}; " `; diff --git a/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap b/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap index 804dcc06cec5..575481e0c67a 100644 --- a/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap @@ -95,15 +95,26 @@ if (data.kind === \"user\") { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -interface IDataBase { id: string, name: string } +interface IDataBase { + id: string, + name: string +} -interface IUserData extends IDataBase { kind: \"user\" } +interface IUserData extends IDataBase { + kind: \"user\" +} -interface ISystemData extends IDataBase { kind: \"system\" } +interface ISystemData extends IDataBase { + kind: \"system\" +} type IData = IUserData | ISystemData; -const data: IData = { id: \"\", name: \"\", kind: \"system\" }; +const data: IData = { + id: \"\", + name: \"\", + kind: \"system\" +}; if (data.kind === \"user\") { (data: ISystemData); @@ -141,15 +152,26 @@ if (data.kind === \"system\") { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -interface IDataBase { id: string, name: string } +interface IDataBase { + id: string, + name: string +} -interface IUserData extends IDataBase { kind: \"user\" } +interface IUserData extends IDataBase { + kind: \"user\" +} -interface ISystemData extends IDataBase { kind: \"system\" } +interface ISystemData extends IDataBase { + kind: \"system\" +} type IData = IUserData | ISystemData; -const data: IData = { id: \"\", name: \"\", kind: \"system\" }; +const data: IData = { + id: \"\", + name: \"\", + kind: \"system\" +}; if (data.kind === \"system\") { (data: ISystemData); @@ -191,15 +213,30 @@ if (data.kind === \"user\") { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -type DataBase = { id: string, name: string }; +type DataBase = { + id: string, + name: string +}; -type UserData = { id: string, name: string, kind: \"user\" }; +type UserData = { + id: string, + name: string, + kind: \"user\" +}; -type SystemData = { id: string, name: string, kind: \"system\" }; +type SystemData = { + id: string, + name: string, + kind: \"system\" +}; type Data = UserData | SystemData; -const data: Data = { id: \"\", name: \"\", kind: \"system\" }; +const data: Data = { + id: \"\", + name: \"\", + kind: \"system\" +}; if (data.kind === \"user\") { (data: SystemData); @@ -241,15 +278,30 @@ if (data.kind === \"system\") { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -type DataBase = { id: string, name: string }; +type DataBase = { + id: string, + name: string +}; -type UserData = { id: string, name: string, kind: \"user\" }; +type UserData = { + id: string, + name: string, + kind: \"user\" +}; -type SystemData = { id: string, name: string, kind: \"system\" }; +type SystemData = { + id: string, + name: string, + kind: \"system\" +}; type Data = UserData | SystemData; -const data: Data = { id: \"\", name: \"\", kind: \"system\" }; +const data: Data = { + id: \"\", + name: \"\", + kind: \"system\" +}; if (data.kind === \"system\") { (data: SystemData); diff --git a/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap b/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap index 45a04e4bd513..5eab09112722 100644 --- a/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap @@ -288,9 +288,13 @@ declare function doStuff(x: $Tainted): void; declare var fakeDocument: FakeDocument; declare var fakeLocation: FakeLocation; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class FakeLocation { assign(url: string): void } +declare class FakeLocation { + assign(url: string): void +} -declare class FakeDocument { location: FakeLocation } +declare class FakeDocument { + location: FakeLocation +} declare function doStuff(x: $Tainted): void; diff --git a/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap index 0bb490de3327..2245d0be50c7 100644 --- a/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap @@ -265,8 +265,12 @@ class C { function foo(c: C): I { return c; } function bar(c: C): J { return c; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface I { xs: Array } -interface J { f(): J } +interface I { + xs: Array +} +interface J { + f(): J +} class C { xs: Array; f(): C { diff --git a/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap index 757b45752bb9..2aaedfeb697a 100644 --- a/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap @@ -23,8 +23,12 @@ declare module \"mini-immutable\" { // errors in ../lib_client.js. If support for \`this\` types in declare classes // is disabled for perf reasons, these will produce warnings. -declare class LinkedList { next(): this } -declare class DoublyLinkedList extends LinkedList { prev(): this } +declare class LinkedList { + next(): this +} +declare class DoublyLinkedList extends LinkedList { + prev(): this +} declare module \"mini-immutable\" { declare class Map { diff --git a/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap b/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap index 6729365f8abd..8c8f0e9dd27a 100644 --- a/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap @@ -81,11 +81,15 @@ function f(b): React.Element<*> { var React = require(\"react\"); var A = React.createClass({ - propTypes: { foo: React.PropTypes.string.isRequired } + propTypes: { + foo: React.PropTypes.string.isRequired + } }); var B = React.createClass({ - propTypes: { bar: React.PropTypes.string.isRequired } + propTypes: { + bar: React.PropTypes.string.isRequired + } }); function f(b): React.Element<*> { diff --git a/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap index d7a0c8d15ddd..84dd79aa1045 100644 --- a/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap @@ -59,7 +59,9 @@ const y = { // foo(): void {} // } -const y = { bar(): void {} }; +const y = { + bar(): void {} +}; " `; diff --git a/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap index 82708ac1bc50..39debec6a22c 100644 --- a/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap @@ -106,15 +106,21 @@ class MyClass2 { var c2: MyClass2 = new MyClass2(0, \"\"); // no error // no arity error in type annotation using polymorphic type alias -type MyObject = { x: T }; +type MyObject = { + x: T +}; var o: MyObject = { x: 0 }; // no error // arity error in type alias rhs type MySubobject = { y: number } & MyObject; // no error // arity error in interface extends -interface MyInterface { x: T } +interface MyInterface { + x: T +} -interface MySubinterface extends MyInterface { y: number } // no error +interface MySubinterface extends MyInterface { // no error + y: number +} // no arity error in extends of polymorphic class class MySubclass diff --git a/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap index 0ace448d7370..0ec7f018ca33 100644 --- a/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap @@ -104,15 +104,21 @@ class MyClass2 { var c2: MyClass2 = new MyClass2(0, \"\"); // error, missing argument list (1-2) // arity error in type annotation using polymorphic type alias -type MyObject = { x: T }; +type MyObject = { + x: T +}; var o: MyObject = { x: 0 }; // error, missing argument list // arity error in type alias rhs type MySubobject = { y: number } & MyObject; // error, missing argument list // arity error in interface extends -interface MyInterface { x: T } +interface MyInterface { + x: T +} -interface MySubinterface extends MyInterface { y: number } // error, missing argument list +interface MySubinterface extends MyInterface { // error, missing argument list + y: number +} // *no* arity error in extends of polymorphic class class MySubclass diff --git a/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap index 452f9af7e579..119c8288b33f 100644 --- a/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap @@ -22,7 +22,10 @@ class Foo {} class Bar {} -module.exports = { Foo: Foo, Bar: Bar }; +module.exports = { + Foo: Foo, + Bar: Bar +}; " `; @@ -53,7 +56,9 @@ var duck: string = \"quack\"; import typeof A from \"./A.js\"; import type { Foo, Bar as Baz } from \"./A.js\"; -type duck = { quack(): string }; +type duck = { + quack(): string +}; // These string types should confict with the imported types var A: string = \"Hello\"; diff --git a/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap index 55baa27dcf51..d647f8fe491b 100644 --- a/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap @@ -123,13 +123,21 @@ class B extends A { } } -interface C { m(x: T): C } +interface C { + m(x: T): C +} -interface D extends C { m(x: T): D } +interface D extends C { + m(x: T): D +} -declare class E { m(x: T): E } +declare class E { + m(x: T): E +} -declare class F extends E { m(x: T): F } +declare class F extends E { + m(x: T): F +} // Bounds can refer to parent type params (until they are shadowed). class G { diff --git a/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap index 84fdb1bb8e0f..54ba755027f2 100644 --- a/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap @@ -73,6 +73,8 @@ function utf16Length(str, pos) { exports[`test keys.js 1`] = ` "({\'この事はつもり素晴らしいことさ\': \'35jL9V\'}) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -({ \"この事はつもり素晴らしいことさ\": \"35jL9V\" }); +({ + \"この事はつもり素晴らしいことさ\": \"35jL9V\" +}); " `; diff --git a/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap index 7ad687a5f764..a257f70f3aaf 100644 --- a/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap @@ -4005,1006 +4005,4006 @@ function foo(x: TAction): TAction { return x; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // perf test for big disjoint union with 1000 cases type TAction = - | { type: \"a1\", a1: number } - | { type: \"a2\", a1: number } - | { type: \"a3\", a1: number } - | { type: \"a4\", a1: number } - | { type: \"a5\", a1: number } - | { type: \"a6\", a1: number } - | { type: \"a7\", a1: number } - | { type: \"a8\", a1: number } - | { type: \"a9\", a1: number } - | { type: \"a10\", a1: number } - | { type: \"a11\", a2: number } - | { type: \"a12\", a2: number } - | { type: \"a13\", a2: number } - | { type: \"a14\", a2: number } - | { type: \"a15\", a2: number } - | { type: \"a16\", a2: number } - | { type: \"a17\", a2: number } - | { type: \"a18\", a2: number } - | { type: \"a19\", a2: number } - | { type: \"a20\", a2: number } - | { type: \"a21\", a3: number } - | { type: \"a22\", a3: number } - | { type: \"a23\", a3: number } - | { type: \"a24\", a3: number } - | { type: \"a25\", a3: number } - | { type: \"a26\", a3: number } - | { type: \"a27\", a3: number } - | { type: \"a28\", a3: number } - | { type: \"a29\", a3: number } - | { type: \"a30\", a3: number } - | { type: \"a31\", a4: number } - | { type: \"a32\", a4: number } - | { type: \"a33\", a4: number } - | { type: \"a34\", a4: number } - | { type: \"a35\", a4: number } - | { type: \"a36\", a4: number } - | { type: \"a37\", a4: number } - | { type: \"a38\", a4: number } - | { type: \"a39\", a4: number } - | { type: \"a40\", a4: number } - | { type: \"a41\", a5: number } - | { type: \"a42\", a5: number } - | { type: \"a43\", a5: number } - | { type: \"a44\", a5: number } - | { type: \"a45\", a5: number } - | { type: \"a46\", a5: number } - | { type: \"a47\", a5: number } - | { type: \"a48\", a5: number } - | { type: \"a49\", a5: number } - | { type: \"a50\", a5: number } - | { type: \"a51\", a6: number } - | { type: \"a52\", a6: number } - | { type: \"a53\", a6: number } - | { type: \"a54\", a6: number } - | { type: \"a55\", a6: number } - | { type: \"a56\", a6: number } - | { type: \"a57\", a6: number } - | { type: \"a58\", a6: number } - | { type: \"a59\", a6: number } - | { type: \"a60\", a6: number } - | { type: \"a61\", a7: number } - | { type: \"a62\", a7: number } - | { type: \"a63\", a7: number } - | { type: \"a64\", a7: number } - | { type: \"a65\", a7: number } - | { type: \"a66\", a7: number } - | { type: \"a67\", a7: number } - | { type: \"a68\", a7: number } - | { type: \"a69\", a7: number } - | { type: \"a70\", a7: number } - | { type: \"a71\", a8: number } - | { type: \"a72\", a8: number } - | { type: \"a73\", a8: number } - | { type: \"a74\", a8: number } - | { type: \"a75\", a8: number } - | { type: \"a76\", a8: number } - | { type: \"a77\", a8: number } - | { type: \"a78\", a8: number } - | { type: \"a79\", a8: number } - | { type: \"a80\", a8: number } - | { type: \"a81\", a9: number } - | { type: \"a82\", a9: number } - | { type: \"a83\", a9: number } - | { type: \"a84\", a9: number } - | { type: \"a85\", a9: number } - | { type: \"a86\", a9: number } - | { type: \"a87\", a9: number } - | { type: \"a88\", a9: number } - | { type: \"a89\", a9: number } - | { type: \"a90\", a9: number } - | { type: \"a91\", a10: number } - | { type: \"a92\", a10: number } - | { type: \"a93\", a10: number } - | { type: \"a94\", a10: number } - | { type: \"a95\", a10: number } - | { type: \"a96\", a10: number } - | { type: \"a97\", a10: number } - | { type: \"a98\", a10: number } - | { type: \"a99\", a10: number } - | { type: \"a100\", a10: number } - | { type: \"a101\", a11: number } - | { type: \"a102\", a11: number } - | { type: \"a103\", a11: number } - | { type: \"a104\", a11: number } - | { type: \"a105\", a11: number } - | { type: \"a106\", a11: number } - | { type: \"a107\", a11: number } - | { type: \"a108\", a11: number } - | { type: \"a109\", a11: number } - | { type: \"a110\", a11: number } - | { type: \"a111\", a12: number } - | { type: \"a112\", a12: number } - | { type: \"a113\", a12: number } - | { type: \"a114\", a12: number } - | { type: \"a115\", a12: number } - | { type: \"a116\", a12: number } - | { type: \"a117\", a12: number } - | { type: \"a118\", a12: number } - | { type: \"a119\", a12: number } - | { type: \"a120\", a12: number } - | { type: \"a121\", a13: number } - | { type: \"a122\", a13: number } - | { type: \"a123\", a13: number } - | { type: \"a124\", a13: number } - | { type: \"a125\", a13: number } - | { type: \"a126\", a13: number } - | { type: \"a127\", a13: number } - | { type: \"a128\", a13: number } - | { type: \"a129\", a13: number } - | { type: \"a130\", a13: number } - | { type: \"a131\", a14: number } - | { type: \"a132\", a14: number } - | { type: \"a133\", a14: number } - | { type: \"a134\", a14: number } - | { type: \"a135\", a14: number } - | { type: \"a136\", a14: number } - | { type: \"a137\", a14: number } - | { type: \"a138\", a14: number } - | { type: \"a139\", a14: number } - | { type: \"a140\", a14: number } - | { type: \"a141\", a15: number } - | { type: \"a142\", a15: number } - | { type: \"a143\", a15: number } - | { type: \"a144\", a15: number } - | { type: \"a145\", a15: number } - | { type: \"a146\", a15: number } - | { type: \"a147\", a15: number } - | { type: \"a148\", a15: number } - | { type: \"a149\", a15: number } - | { type: \"a150\", a15: number } - | { type: \"a151\", a16: number } - | { type: \"a152\", a16: number } - | { type: \"a153\", a16: number } - | { type: \"a154\", a16: number } - | { type: \"a155\", a16: number } - | { type: \"a156\", a16: number } - | { type: \"a157\", a16: number } - | { type: \"a158\", a16: number } - | { type: \"a159\", a16: number } - | { type: \"a160\", a16: number } - | { type: \"a161\", a17: number } - | { type: \"a162\", a17: number } - | { type: \"a163\", a17: number } - | { type: \"a164\", a17: number } - | { type: \"a165\", a17: number } - | { type: \"a166\", a17: number } - | { type: \"a167\", a17: number } - | { type: \"a168\", a17: number } - | { type: \"a169\", a17: number } - | { type: \"a170\", a17: number } - | { type: \"a171\", a18: number } - | { type: \"a172\", a18: number } - | { type: \"a173\", a18: number } - | { type: \"a174\", a18: number } - | { type: \"a175\", a18: number } - | { type: \"a176\", a18: number } - | { type: \"a177\", a18: number } - | { type: \"a178\", a18: number } - | { type: \"a179\", a18: number } - | { type: \"a180\", a18: number } - | { type: \"a181\", a19: number } - | { type: \"a182\", a19: number } - | { type: \"a183\", a19: number } - | { type: \"a184\", a19: number } - | { type: \"a185\", a19: number } - | { type: \"a186\", a19: number } - | { type: \"a187\", a19: number } - | { type: \"a188\", a19: number } - | { type: \"a189\", a19: number } - | { type: \"a190\", a19: number } - | { type: \"a191\", a20: number } - | { type: \"a192\", a20: number } - | { type: \"a193\", a20: number } - | { type: \"a194\", a20: number } - | { type: \"a195\", a20: number } - | { type: \"a196\", a20: number } - | { type: \"a197\", a20: number } - | { type: \"a198\", a20: number } - | { type: \"a199\", a20: number } - | { type: \"a200\", a20: number } - | { type: \"a201\", a21: number } - | { type: \"a202\", a21: number } - | { type: \"a203\", a21: number } - | { type: \"a204\", a21: number } - | { type: \"a205\", a21: number } - | { type: \"a206\", a21: number } - | { type: \"a207\", a21: number } - | { type: \"a208\", a21: number } - | { type: \"a209\", a21: number } - | { type: \"a210\", a21: number } - | { type: \"a211\", a22: number } - | { type: \"a212\", a22: number } - | { type: \"a213\", a22: number } - | { type: \"a214\", a22: number } - | { type: \"a215\", a22: number } - | { type: \"a216\", a22: number } - | { type: \"a217\", a22: number } - | { type: \"a218\", a22: number } - | { type: \"a219\", a22: number } - | { type: \"a220\", a22: number } - | { type: \"a221\", a23: number } - | { type: \"a222\", a23: number } - | { type: \"a223\", a23: number } - | { type: \"a224\", a23: number } - | { type: \"a225\", a23: number } - | { type: \"a226\", a23: number } - | { type: \"a227\", a23: number } - | { type: \"a228\", a23: number } - | { type: \"a229\", a23: number } - | { type: \"a230\", a23: number } - | { type: \"a231\", a24: number } - | { type: \"a232\", a24: number } - | { type: \"a233\", a24: number } - | { type: \"a234\", a24: number } - | { type: \"a235\", a24: number } - | { type: \"a236\", a24: number } - | { type: \"a237\", a24: number } - | { type: \"a238\", a24: number } - | { type: \"a239\", a24: number } - | { type: \"a240\", a24: number } - | { type: \"a241\", a25: number } - | { type: \"a242\", a25: number } - | { type: \"a243\", a25: number } - | { type: \"a244\", a25: number } - | { type: \"a245\", a25: number } - | { type: \"a246\", a25: number } - | { type: \"a247\", a25: number } - | { type: \"a248\", a25: number } - | { type: \"a249\", a25: number } - | { type: \"a250\", a25: number } - | { type: \"a251\", a26: number } - | { type: \"a252\", a26: number } - | { type: \"a253\", a26: number } - | { type: \"a254\", a26: number } - | { type: \"a255\", a26: number } - | { type: \"a256\", a26: number } - | { type: \"a257\", a26: number } - | { type: \"a258\", a26: number } - | { type: \"a259\", a26: number } - | { type: \"a260\", a26: number } - | { type: \"a261\", a27: number } - | { type: \"a262\", a27: number } - | { type: \"a263\", a27: number } - | { type: \"a264\", a27: number } - | { type: \"a265\", a27: number } - | { type: \"a266\", a27: number } - | { type: \"a267\", a27: number } - | { type: \"a268\", a27: number } - | { type: \"a269\", a27: number } - | { type: \"a270\", a27: number } - | { type: \"a271\", a28: number } - | { type: \"a272\", a28: number } - | { type: \"a273\", a28: number } - | { type: \"a274\", a28: number } - | { type: \"a275\", a28: number } - | { type: \"a276\", a28: number } - | { type: \"a277\", a28: number } - | { type: \"a278\", a28: number } - | { type: \"a279\", a28: number } - | { type: \"a280\", a28: number } - | { type: \"a281\", a29: number } - | { type: \"a282\", a29: number } - | { type: \"a283\", a29: number } - | { type: \"a284\", a29: number } - | { type: \"a285\", a29: number } - | { type: \"a286\", a29: number } - | { type: \"a287\", a29: number } - | { type: \"a288\", a29: number } - | { type: \"a289\", a29: number } - | { type: \"a290\", a29: number } - | { type: \"a291\", a30: number } - | { type: \"a292\", a30: number } - | { type: \"a293\", a30: number } - | { type: \"a294\", a30: number } - | { type: \"a295\", a30: number } - | { type: \"a296\", a30: number } - | { type: \"a297\", a30: number } - | { type: \"a298\", a30: number } - | { type: \"a299\", a30: number } - | { type: \"a300\", a30: number } - | { type: \"a301\", a31: number } - | { type: \"a302\", a31: number } - | { type: \"a303\", a31: number } - | { type: \"a304\", a31: number } - | { type: \"a305\", a31: number } - | { type: \"a306\", a31: number } - | { type: \"a307\", a31: number } - | { type: \"a308\", a31: number } - | { type: \"a309\", a31: number } - | { type: \"a310\", a31: number } - | { type: \"a311\", a32: number } - | { type: \"a312\", a32: number } - | { type: \"a313\", a32: number } - | { type: \"a314\", a32: number } - | { type: \"a315\", a32: number } - | { type: \"a316\", a32: number } - | { type: \"a317\", a32: number } - | { type: \"a318\", a32: number } - | { type: \"a319\", a32: number } - | { type: \"a320\", a32: number } - | { type: \"a321\", a33: number } - | { type: \"a322\", a33: number } - | { type: \"a323\", a33: number } - | { type: \"a324\", a33: number } - | { type: \"a325\", a33: number } - | { type: \"a326\", a33: number } - | { type: \"a327\", a33: number } - | { type: \"a328\", a33: number } - | { type: \"a329\", a33: number } - | { type: \"a330\", a33: number } - | { type: \"a331\", a34: number } - | { type: \"a332\", a34: number } - | { type: \"a333\", a34: number } - | { type: \"a334\", a34: number } - | { type: \"a335\", a34: number } - | { type: \"a336\", a34: number } - | { type: \"a337\", a34: number } - | { type: \"a338\", a34: number } - | { type: \"a339\", a34: number } - | { type: \"a340\", a34: number } - | { type: \"a341\", a35: number } - | { type: \"a342\", a35: number } - | { type: \"a343\", a35: number } - | { type: \"a344\", a35: number } - | { type: \"a345\", a35: number } - | { type: \"a346\", a35: number } - | { type: \"a347\", a35: number } - | { type: \"a348\", a35: number } - | { type: \"a349\", a35: number } - | { type: \"a350\", a35: number } - | { type: \"a351\", a36: number } - | { type: \"a352\", a36: number } - | { type: \"a353\", a36: number } - | { type: \"a354\", a36: number } - | { type: \"a355\", a36: number } - | { type: \"a356\", a36: number } - | { type: \"a357\", a36: number } - | { type: \"a358\", a36: number } - | { type: \"a359\", a36: number } - | { type: \"a360\", a36: number } - | { type: \"a361\", a37: number } - | { type: \"a362\", a37: number } - | { type: \"a363\", a37: number } - | { type: \"a364\", a37: number } - | { type: \"a365\", a37: number } - | { type: \"a366\", a37: number } - | { type: \"a367\", a37: number } - | { type: \"a368\", a37: number } - | { type: \"a369\", a37: number } - | { type: \"a370\", a37: number } - | { type: \"a371\", a38: number } - | { type: \"a372\", a38: number } - | { type: \"a373\", a38: number } - | { type: \"a374\", a38: number } - | { type: \"a375\", a38: number } - | { type: \"a376\", a38: number } - | { type: \"a377\", a38: number } - | { type: \"a378\", a38: number } - | { type: \"a379\", a38: number } - | { type: \"a380\", a38: number } - | { type: \"a381\", a39: number } - | { type: \"a382\", a39: number } - | { type: \"a383\", a39: number } - | { type: \"a384\", a39: number } - | { type: \"a385\", a39: number } - | { type: \"a386\", a39: number } - | { type: \"a387\", a39: number } - | { type: \"a388\", a39: number } - | { type: \"a389\", a39: number } - | { type: \"a390\", a39: number } - | { type: \"a391\", a40: number } - | { type: \"a392\", a40: number } - | { type: \"a393\", a40: number } - | { type: \"a394\", a40: number } - | { type: \"a395\", a40: number } - | { type: \"a396\", a40: number } - | { type: \"a397\", a40: number } - | { type: \"a398\", a40: number } - | { type: \"a399\", a40: number } - | { type: \"a400\", a40: number } - | { type: \"a401\", a41: number } - | { type: \"a402\", a41: number } - | { type: \"a403\", a41: number } - | { type: \"a404\", a41: number } - | { type: \"a405\", a41: number } - | { type: \"a406\", a41: number } - | { type: \"a407\", a41: number } - | { type: \"a408\", a41: number } - | { type: \"a409\", a41: number } - | { type: \"a410\", a41: number } - | { type: \"a411\", a42: number } - | { type: \"a412\", a42: number } - | { type: \"a413\", a42: number } - | { type: \"a414\", a42: number } - | { type: \"a415\", a42: number } - | { type: \"a416\", a42: number } - | { type: \"a417\", a42: number } - | { type: \"a418\", a42: number } - | { type: \"a419\", a42: number } - | { type: \"a420\", a42: number } - | { type: \"a421\", a43: number } - | { type: \"a422\", a43: number } - | { type: \"a423\", a43: number } - | { type: \"a424\", a43: number } - | { type: \"a425\", a43: number } - | { type: \"a426\", a43: number } - | { type: \"a427\", a43: number } - | { type: \"a428\", a43: number } - | { type: \"a429\", a43: number } - | { type: \"a430\", a43: number } - | { type: \"a431\", a44: number } - | { type: \"a432\", a44: number } - | { type: \"a433\", a44: number } - | { type: \"a434\", a44: number } - | { type: \"a435\", a44: number } - | { type: \"a436\", a44: number } - | { type: \"a437\", a44: number } - | { type: \"a438\", a44: number } - | { type: \"a439\", a44: number } - | { type: \"a440\", a44: number } - | { type: \"a441\", a45: number } - | { type: \"a442\", a45: number } - | { type: \"a443\", a45: number } - | { type: \"a444\", a45: number } - | { type: \"a445\", a45: number } - | { type: \"a446\", a45: number } - | { type: \"a447\", a45: number } - | { type: \"a448\", a45: number } - | { type: \"a449\", a45: number } - | { type: \"a450\", a45: number } - | { type: \"a451\", a46: number } - | { type: \"a452\", a46: number } - | { type: \"a453\", a46: number } - | { type: \"a454\", a46: number } - | { type: \"a455\", a46: number } - | { type: \"a456\", a46: number } - | { type: \"a457\", a46: number } - | { type: \"a458\", a46: number } - | { type: \"a459\", a46: number } - | { type: \"a460\", a46: number } - | { type: \"a461\", a47: number } - | { type: \"a462\", a47: number } - | { type: \"a463\", a47: number } - | { type: \"a464\", a47: number } - | { type: \"a465\", a47: number } - | { type: \"a466\", a47: number } - | { type: \"a467\", a47: number } - | { type: \"a468\", a47: number } - | { type: \"a469\", a47: number } - | { type: \"a470\", a47: number } - | { type: \"a471\", a48: number } - | { type: \"a472\", a48: number } - | { type: \"a473\", a48: number } - | { type: \"a474\", a48: number } - | { type: \"a475\", a48: number } - | { type: \"a476\", a48: number } - | { type: \"a477\", a48: number } - | { type: \"a478\", a48: number } - | { type: \"a479\", a48: number } - | { type: \"a480\", a48: number } - | { type: \"a481\", a49: number } - | { type: \"a482\", a49: number } - | { type: \"a483\", a49: number } - | { type: \"a484\", a49: number } - | { type: \"a485\", a49: number } - | { type: \"a486\", a49: number } - | { type: \"a487\", a49: number } - | { type: \"a488\", a49: number } - | { type: \"a489\", a49: number } - | { type: \"a490\", a49: number } - | { type: \"a491\", a50: number } - | { type: \"a492\", a50: number } - | { type: \"a493\", a50: number } - | { type: \"a494\", a50: number } - | { type: \"a495\", a50: number } - | { type: \"a496\", a50: number } - | { type: \"a497\", a50: number } - | { type: \"a498\", a50: number } - | { type: \"a499\", a50: number } - | { type: \"a500\", a50: number } - | { type: \"a501\", a51: number } - | { type: \"a502\", a51: number } - | { type: \"a503\", a51: number } - | { type: \"a504\", a51: number } - | { type: \"a505\", a51: number } - | { type: \"a506\", a51: number } - | { type: \"a507\", a51: number } - | { type: \"a508\", a51: number } - | { type: \"a509\", a51: number } - | { type: \"a510\", a51: number } - | { type: \"a511\", a52: number } - | { type: \"a512\", a52: number } - | { type: \"a513\", a52: number } - | { type: \"a514\", a52: number } - | { type: \"a515\", a52: number } - | { type: \"a516\", a52: number } - | { type: \"a517\", a52: number } - | { type: \"a518\", a52: number } - | { type: \"a519\", a52: number } - | { type: \"a520\", a52: number } - | { type: \"a521\", a53: number } - | { type: \"a522\", a53: number } - | { type: \"a523\", a53: number } - | { type: \"a524\", a53: number } - | { type: \"a525\", a53: number } - | { type: \"a526\", a53: number } - | { type: \"a527\", a53: number } - | { type: \"a528\", a53: number } - | { type: \"a529\", a53: number } - | { type: \"a530\", a53: number } - | { type: \"a531\", a54: number } - | { type: \"a532\", a54: number } - | { type: \"a533\", a54: number } - | { type: \"a534\", a54: number } - | { type: \"a535\", a54: number } - | { type: \"a536\", a54: number } - | { type: \"a537\", a54: number } - | { type: \"a538\", a54: number } - | { type: \"a539\", a54: number } - | { type: \"a540\", a54: number } - | { type: \"a541\", a55: number } - | { type: \"a542\", a55: number } - | { type: \"a543\", a55: number } - | { type: \"a544\", a55: number } - | { type: \"a545\", a55: number } - | { type: \"a546\", a55: number } - | { type: \"a547\", a55: number } - | { type: \"a548\", a55: number } - | { type: \"a549\", a55: number } - | { type: \"a550\", a55: number } - | { type: \"a551\", a56: number } - | { type: \"a552\", a56: number } - | { type: \"a553\", a56: number } - | { type: \"a554\", a56: number } - | { type: \"a555\", a56: number } - | { type: \"a556\", a56: number } - | { type: \"a557\", a56: number } - | { type: \"a558\", a56: number } - | { type: \"a559\", a56: number } - | { type: \"a560\", a56: number } - | { type: \"a561\", a57: number } - | { type: \"a562\", a57: number } - | { type: \"a563\", a57: number } - | { type: \"a564\", a57: number } - | { type: \"a565\", a57: number } - | { type: \"a566\", a57: number } - | { type: \"a567\", a57: number } - | { type: \"a568\", a57: number } - | { type: \"a569\", a57: number } - | { type: \"a570\", a57: number } - | { type: \"a571\", a58: number } - | { type: \"a572\", a58: number } - | { type: \"a573\", a58: number } - | { type: \"a574\", a58: number } - | { type: \"a575\", a58: number } - | { type: \"a576\", a58: number } - | { type: \"a577\", a58: number } - | { type: \"a578\", a58: number } - | { type: \"a579\", a58: number } - | { type: \"a580\", a58: number } - | { type: \"a581\", a59: number } - | { type: \"a582\", a59: number } - | { type: \"a583\", a59: number } - | { type: \"a584\", a59: number } - | { type: \"a585\", a59: number } - | { type: \"a586\", a59: number } - | { type: \"a587\", a59: number } - | { type: \"a588\", a59: number } - | { type: \"a589\", a59: number } - | { type: \"a590\", a59: number } - | { type: \"a591\", a60: number } - | { type: \"a592\", a60: number } - | { type: \"a593\", a60: number } - | { type: \"a594\", a60: number } - | { type: \"a595\", a60: number } - | { type: \"a596\", a60: number } - | { type: \"a597\", a60: number } - | { type: \"a598\", a60: number } - | { type: \"a599\", a60: number } - | { type: \"a600\", a60: number } - | { type: \"a601\", a61: number } - | { type: \"a602\", a61: number } - | { type: \"a603\", a61: number } - | { type: \"a604\", a61: number } - | { type: \"a605\", a61: number } - | { type: \"a606\", a61: number } - | { type: \"a607\", a61: number } - | { type: \"a608\", a61: number } - | { type: \"a609\", a61: number } - | { type: \"a610\", a61: number } - | { type: \"a611\", a62: number } - | { type: \"a612\", a62: number } - | { type: \"a613\", a62: number } - | { type: \"a614\", a62: number } - | { type: \"a615\", a62: number } - | { type: \"a616\", a62: number } - | { type: \"a617\", a62: number } - | { type: \"a618\", a62: number } - | { type: \"a619\", a62: number } - | { type: \"a620\", a62: number } - | { type: \"a621\", a63: number } - | { type: \"a622\", a63: number } - | { type: \"a623\", a63: number } - | { type: \"a624\", a63: number } - | { type: \"a625\", a63: number } - | { type: \"a626\", a63: number } - | { type: \"a627\", a63: number } - | { type: \"a628\", a63: number } - | { type: \"a629\", a63: number } - | { type: \"a630\", a63: number } - | { type: \"a631\", a64: number } - | { type: \"a632\", a64: number } - | { type: \"a633\", a64: number } - | { type: \"a634\", a64: number } - | { type: \"a635\", a64: number } - | { type: \"a636\", a64: number } - | { type: \"a637\", a64: number } - | { type: \"a638\", a64: number } - | { type: \"a639\", a64: number } - | { type: \"a640\", a64: number } - | { type: \"a641\", a65: number } - | { type: \"a642\", a65: number } - | { type: \"a643\", a65: number } - | { type: \"a644\", a65: number } - | { type: \"a645\", a65: number } - | { type: \"a646\", a65: number } - | { type: \"a647\", a65: number } - | { type: \"a648\", a65: number } - | { type: \"a649\", a65: number } - | { type: \"a650\", a65: number } - | { type: \"a651\", a66: number } - | { type: \"a652\", a66: number } - | { type: \"a653\", a66: number } - | { type: \"a654\", a66: number } - | { type: \"a655\", a66: number } - | { type: \"a656\", a66: number } - | { type: \"a657\", a66: number } - | { type: \"a658\", a66: number } - | { type: \"a659\", a66: number } - | { type: \"a660\", a66: number } - | { type: \"a661\", a67: number } - | { type: \"a662\", a67: number } - | { type: \"a663\", a67: number } - | { type: \"a664\", a67: number } - | { type: \"a665\", a67: number } - | { type: \"a666\", a67: number } - | { type: \"a667\", a67: number } - | { type: \"a668\", a67: number } - | { type: \"a669\", a67: number } - | { type: \"a670\", a67: number } - | { type: \"a671\", a68: number } - | { type: \"a672\", a68: number } - | { type: \"a673\", a68: number } - | { type: \"a674\", a68: number } - | { type: \"a675\", a68: number } - | { type: \"a676\", a68: number } - | { type: \"a677\", a68: number } - | { type: \"a678\", a68: number } - | { type: \"a679\", a68: number } - | { type: \"a680\", a68: number } - | { type: \"a681\", a69: number } - | { type: \"a682\", a69: number } - | { type: \"a683\", a69: number } - | { type: \"a684\", a69: number } - | { type: \"a685\", a69: number } - | { type: \"a686\", a69: number } - | { type: \"a687\", a69: number } - | { type: \"a688\", a69: number } - | { type: \"a689\", a69: number } - | { type: \"a690\", a69: number } - | { type: \"a691\", a70: number } - | { type: \"a692\", a70: number } - | { type: \"a693\", a70: number } - | { type: \"a694\", a70: number } - | { type: \"a695\", a70: number } - | { type: \"a696\", a70: number } - | { type: \"a697\", a70: number } - | { type: \"a698\", a70: number } - | { type: \"a699\", a70: number } - | { type: \"a700\", a70: number } - | { type: \"a701\", a71: number } - | { type: \"a702\", a71: number } - | { type: \"a703\", a71: number } - | { type: \"a704\", a71: number } - | { type: \"a705\", a71: number } - | { type: \"a706\", a71: number } - | { type: \"a707\", a71: number } - | { type: \"a708\", a71: number } - | { type: \"a709\", a71: number } - | { type: \"a710\", a71: number } - | { type: \"a711\", a72: number } - | { type: \"a712\", a72: number } - | { type: \"a713\", a72: number } - | { type: \"a714\", a72: number } - | { type: \"a715\", a72: number } - | { type: \"a716\", a72: number } - | { type: \"a717\", a72: number } - | { type: \"a718\", a72: number } - | { type: \"a719\", a72: number } - | { type: \"a720\", a72: number } - | { type: \"a721\", a73: number } - | { type: \"a722\", a73: number } - | { type: \"a723\", a73: number } - | { type: \"a724\", a73: number } - | { type: \"a725\", a73: number } - | { type: \"a726\", a73: number } - | { type: \"a727\", a73: number } - | { type: \"a728\", a73: number } - | { type: \"a729\", a73: number } - | { type: \"a730\", a73: number } - | { type: \"a731\", a74: number } - | { type: \"a732\", a74: number } - | { type: \"a733\", a74: number } - | { type: \"a734\", a74: number } - | { type: \"a735\", a74: number } - | { type: \"a736\", a74: number } - | { type: \"a737\", a74: number } - | { type: \"a738\", a74: number } - | { type: \"a739\", a74: number } - | { type: \"a740\", a74: number } - | { type: \"a741\", a75: number } - | { type: \"a742\", a75: number } - | { type: \"a743\", a75: number } - | { type: \"a744\", a75: number } - | { type: \"a745\", a75: number } - | { type: \"a746\", a75: number } - | { type: \"a747\", a75: number } - | { type: \"a748\", a75: number } - | { type: \"a749\", a75: number } - | { type: \"a750\", a75: number } - | { type: \"a751\", a76: number } - | { type: \"a752\", a76: number } - | { type: \"a753\", a76: number } - | { type: \"a754\", a76: number } - | { type: \"a755\", a76: number } - | { type: \"a756\", a76: number } - | { type: \"a757\", a76: number } - | { type: \"a758\", a76: number } - | { type: \"a759\", a76: number } - | { type: \"a760\", a76: number } - | { type: \"a761\", a77: number } - | { type: \"a762\", a77: number } - | { type: \"a763\", a77: number } - | { type: \"a764\", a77: number } - | { type: \"a765\", a77: number } - | { type: \"a766\", a77: number } - | { type: \"a767\", a77: number } - | { type: \"a768\", a77: number } - | { type: \"a769\", a77: number } - | { type: \"a770\", a77: number } - | { type: \"a771\", a78: number } - | { type: \"a772\", a78: number } - | { type: \"a773\", a78: number } - | { type: \"a774\", a78: number } - | { type: \"a775\", a78: number } - | { type: \"a776\", a78: number } - | { type: \"a777\", a78: number } - | { type: \"a778\", a78: number } - | { type: \"a779\", a78: number } - | { type: \"a780\", a78: number } - | { type: \"a781\", a79: number } - | { type: \"a782\", a79: number } - | { type: \"a783\", a79: number } - | { type: \"a784\", a79: number } - | { type: \"a785\", a79: number } - | { type: \"a786\", a79: number } - | { type: \"a787\", a79: number } - | { type: \"a788\", a79: number } - | { type: \"a789\", a79: number } - | { type: \"a790\", a79: number } - | { type: \"a791\", a80: number } - | { type: \"a792\", a80: number } - | { type: \"a793\", a80: number } - | { type: \"a794\", a80: number } - | { type: \"a795\", a80: number } - | { type: \"a796\", a80: number } - | { type: \"a797\", a80: number } - | { type: \"a798\", a80: number } - | { type: \"a799\", a80: number } - | { type: \"a800\", a80: number } - | { type: \"a801\", a81: number } - | { type: \"a802\", a81: number } - | { type: \"a803\", a81: number } - | { type: \"a804\", a81: number } - | { type: \"a805\", a81: number } - | { type: \"a806\", a81: number } - | { type: \"a807\", a81: number } - | { type: \"a808\", a81: number } - | { type: \"a809\", a81: number } - | { type: \"a810\", a81: number } - | { type: \"a811\", a82: number } - | { type: \"a812\", a82: number } - | { type: \"a813\", a82: number } - | { type: \"a814\", a82: number } - | { type: \"a815\", a82: number } - | { type: \"a816\", a82: number } - | { type: \"a817\", a82: number } - | { type: \"a818\", a82: number } - | { type: \"a819\", a82: number } - | { type: \"a820\", a82: number } - | { type: \"a821\", a83: number } - | { type: \"a822\", a83: number } - | { type: \"a823\", a83: number } - | { type: \"a824\", a83: number } - | { type: \"a825\", a83: number } - | { type: \"a826\", a83: number } - | { type: \"a827\", a83: number } - | { type: \"a828\", a83: number } - | { type: \"a829\", a83: number } - | { type: \"a830\", a83: number } - | { type: \"a831\", a84: number } - | { type: \"a832\", a84: number } - | { type: \"a833\", a84: number } - | { type: \"a834\", a84: number } - | { type: \"a835\", a84: number } - | { type: \"a836\", a84: number } - | { type: \"a837\", a84: number } - | { type: \"a838\", a84: number } - | { type: \"a839\", a84: number } - | { type: \"a840\", a84: number } - | { type: \"a841\", a85: number } - | { type: \"a842\", a85: number } - | { type: \"a843\", a85: number } - | { type: \"a844\", a85: number } - | { type: \"a845\", a85: number } - | { type: \"a846\", a85: number } - | { type: \"a847\", a85: number } - | { type: \"a848\", a85: number } - | { type: \"a849\", a85: number } - | { type: \"a850\", a85: number } - | { type: \"a851\", a86: number } - | { type: \"a852\", a86: number } - | { type: \"a853\", a86: number } - | { type: \"a854\", a86: number } - | { type: \"a855\", a86: number } - | { type: \"a856\", a86: number } - | { type: \"a857\", a86: number } - | { type: \"a858\", a86: number } - | { type: \"a859\", a86: number } - | { type: \"a860\", a86: number } - | { type: \"a861\", a87: number } - | { type: \"a862\", a87: number } - | { type: \"a863\", a87: number } - | { type: \"a864\", a87: number } - | { type: \"a865\", a87: number } - | { type: \"a866\", a87: number } - | { type: \"a867\", a87: number } - | { type: \"a868\", a87: number } - | { type: \"a869\", a87: number } - | { type: \"a870\", a87: number } - | { type: \"a871\", a88: number } - | { type: \"a872\", a88: number } - | { type: \"a873\", a88: number } - | { type: \"a874\", a88: number } - | { type: \"a875\", a88: number } - | { type: \"a876\", a88: number } - | { type: \"a877\", a88: number } - | { type: \"a878\", a88: number } - | { type: \"a879\", a88: number } - | { type: \"a880\", a88: number } - | { type: \"a881\", a89: number } - | { type: \"a882\", a89: number } - | { type: \"a883\", a89: number } - | { type: \"a884\", a89: number } - | { type: \"a885\", a89: number } - | { type: \"a886\", a89: number } - | { type: \"a887\", a89: number } - | { type: \"a888\", a89: number } - | { type: \"a889\", a89: number } - | { type: \"a890\", a89: number } - | { type: \"a891\", a90: number } - | { type: \"a892\", a90: number } - | { type: \"a893\", a90: number } - | { type: \"a894\", a90: number } - | { type: \"a895\", a90: number } - | { type: \"a896\", a90: number } - | { type: \"a897\", a90: number } - | { type: \"a898\", a90: number } - | { type: \"a899\", a90: number } - | { type: \"a900\", a90: number } - | { type: \"a901\", a91: number } - | { type: \"a902\", a91: number } - | { type: \"a903\", a91: number } - | { type: \"a904\", a91: number } - | { type: \"a905\", a91: number } - | { type: \"a906\", a91: number } - | { type: \"a907\", a91: number } - | { type: \"a908\", a91: number } - | { type: \"a909\", a91: number } - | { type: \"a910\", a91: number } - | { type: \"a911\", a92: number } - | { type: \"a912\", a92: number } - | { type: \"a913\", a92: number } - | { type: \"a914\", a92: number } - | { type: \"a915\", a92: number } - | { type: \"a916\", a92: number } - | { type: \"a917\", a92: number } - | { type: \"a918\", a92: number } - | { type: \"a919\", a92: number } - | { type: \"a920\", a92: number } - | { type: \"a921\", a93: number } - | { type: \"a922\", a93: number } - | { type: \"a923\", a93: number } - | { type: \"a924\", a93: number } - | { type: \"a925\", a93: number } - | { type: \"a926\", a93: number } - | { type: \"a927\", a93: number } - | { type: \"a928\", a93: number } - | { type: \"a929\", a93: number } - | { type: \"a930\", a93: number } - | { type: \"a931\", a94: number } - | { type: \"a932\", a94: number } - | { type: \"a933\", a94: number } - | { type: \"a934\", a94: number } - | { type: \"a935\", a94: number } - | { type: \"a936\", a94: number } - | { type: \"a937\", a94: number } - | { type: \"a938\", a94: number } - | { type: \"a939\", a94: number } - | { type: \"a940\", a94: number } - | { type: \"a941\", a95: number } - | { type: \"a942\", a95: number } - | { type: \"a943\", a95: number } - | { type: \"a944\", a95: number } - | { type: \"a945\", a95: number } - | { type: \"a946\", a95: number } - | { type: \"a947\", a95: number } - | { type: \"a948\", a95: number } - | { type: \"a949\", a95: number } - | { type: \"a950\", a95: number } - | { type: \"a951\", a96: number } - | { type: \"a952\", a96: number } - | { type: \"a953\", a96: number } - | { type: \"a954\", a96: number } - | { type: \"a955\", a96: number } - | { type: \"a956\", a96: number } - | { type: \"a957\", a96: number } - | { type: \"a958\", a96: number } - | { type: \"a959\", a96: number } - | { type: \"a960\", a96: number } - | { type: \"a961\", a97: number } - | { type: \"a962\", a97: number } - | { type: \"a963\", a97: number } - | { type: \"a964\", a97: number } - | { type: \"a965\", a97: number } - | { type: \"a966\", a97: number } - | { type: \"a967\", a97: number } - | { type: \"a968\", a97: number } - | { type: \"a969\", a97: number } - | { type: \"a970\", a97: number } - | { type: \"a971\", a98: number } - | { type: \"a972\", a98: number } - | { type: \"a973\", a98: number } - | { type: \"a974\", a98: number } - | { type: \"a975\", a98: number } - | { type: \"a976\", a98: number } - | { type: \"a977\", a98: number } - | { type: \"a978\", a98: number } - | { type: \"a979\", a98: number } - | { type: \"a980\", a98: number } - | { type: \"a981\", a99: number } - | { type: \"a982\", a99: number } - | { type: \"a983\", a99: number } - | { type: \"a984\", a99: number } - | { type: \"a985\", a99: number } - | { type: \"a986\", a99: number } - | { type: \"a987\", a99: number } - | { type: \"a988\", a99: number } - | { type: \"a989\", a99: number } - | { type: \"a990\", a99: number } - | { type: \"a991\", a100: number } - | { type: \"a992\", a100: number } - | { type: \"a993\", a100: number } - | { type: \"a994\", a100: number } - | { type: \"a995\", a100: number } - | { type: \"a996\", a100: number } - | { type: \"a997\", a100: number } - | { type: \"a998\", a100: number } - | { type: \"a999\", a100: number } - | { type: \"a1000\", a100: number }; + | { + type: \"a1\", + a1: number + } + | { + type: \"a2\", + a1: number + } + | { + type: \"a3\", + a1: number + } + | { + type: \"a4\", + a1: number + } + | { + type: \"a5\", + a1: number + } + | { + type: \"a6\", + a1: number + } + | { + type: \"a7\", + a1: number + } + | { + type: \"a8\", + a1: number + } + | { + type: \"a9\", + a1: number + } + | { + type: \"a10\", + a1: number + } + | { + type: \"a11\", + a2: number + } + | { + type: \"a12\", + a2: number + } + | { + type: \"a13\", + a2: number + } + | { + type: \"a14\", + a2: number + } + | { + type: \"a15\", + a2: number + } + | { + type: \"a16\", + a2: number + } + | { + type: \"a17\", + a2: number + } + | { + type: \"a18\", + a2: number + } + | { + type: \"a19\", + a2: number + } + | { + type: \"a20\", + a2: number + } + | { + type: \"a21\", + a3: number + } + | { + type: \"a22\", + a3: number + } + | { + type: \"a23\", + a3: number + } + | { + type: \"a24\", + a3: number + } + | { + type: \"a25\", + a3: number + } + | { + type: \"a26\", + a3: number + } + | { + type: \"a27\", + a3: number + } + | { + type: \"a28\", + a3: number + } + | { + type: \"a29\", + a3: number + } + | { + type: \"a30\", + a3: number + } + | { + type: \"a31\", + a4: number + } + | { + type: \"a32\", + a4: number + } + | { + type: \"a33\", + a4: number + } + | { + type: \"a34\", + a4: number + } + | { + type: \"a35\", + a4: number + } + | { + type: \"a36\", + a4: number + } + | { + type: \"a37\", + a4: number + } + | { + type: \"a38\", + a4: number + } + | { + type: \"a39\", + a4: number + } + | { + type: \"a40\", + a4: number + } + | { + type: \"a41\", + a5: number + } + | { + type: \"a42\", + a5: number + } + | { + type: \"a43\", + a5: number + } + | { + type: \"a44\", + a5: number + } + | { + type: \"a45\", + a5: number + } + | { + type: \"a46\", + a5: number + } + | { + type: \"a47\", + a5: number + } + | { + type: \"a48\", + a5: number + } + | { + type: \"a49\", + a5: number + } + | { + type: \"a50\", + a5: number + } + | { + type: \"a51\", + a6: number + } + | { + type: \"a52\", + a6: number + } + | { + type: \"a53\", + a6: number + } + | { + type: \"a54\", + a6: number + } + | { + type: \"a55\", + a6: number + } + | { + type: \"a56\", + a6: number + } + | { + type: \"a57\", + a6: number + } + | { + type: \"a58\", + a6: number + } + | { + type: \"a59\", + a6: number + } + | { + type: \"a60\", + a6: number + } + | { + type: \"a61\", + a7: number + } + | { + type: \"a62\", + a7: number + } + | { + type: \"a63\", + a7: number + } + | { + type: \"a64\", + a7: number + } + | { + type: \"a65\", + a7: number + } + | { + type: \"a66\", + a7: number + } + | { + type: \"a67\", + a7: number + } + | { + type: \"a68\", + a7: number + } + | { + type: \"a69\", + a7: number + } + | { + type: \"a70\", + a7: number + } + | { + type: \"a71\", + a8: number + } + | { + type: \"a72\", + a8: number + } + | { + type: \"a73\", + a8: number + } + | { + type: \"a74\", + a8: number + } + | { + type: \"a75\", + a8: number + } + | { + type: \"a76\", + a8: number + } + | { + type: \"a77\", + a8: number + } + | { + type: \"a78\", + a8: number + } + | { + type: \"a79\", + a8: number + } + | { + type: \"a80\", + a8: number + } + | { + type: \"a81\", + a9: number + } + | { + type: \"a82\", + a9: number + } + | { + type: \"a83\", + a9: number + } + | { + type: \"a84\", + a9: number + } + | { + type: \"a85\", + a9: number + } + | { + type: \"a86\", + a9: number + } + | { + type: \"a87\", + a9: number + } + | { + type: \"a88\", + a9: number + } + | { + type: \"a89\", + a9: number + } + | { + type: \"a90\", + a9: number + } + | { + type: \"a91\", + a10: number + } + | { + type: \"a92\", + a10: number + } + | { + type: \"a93\", + a10: number + } + | { + type: \"a94\", + a10: number + } + | { + type: \"a95\", + a10: number + } + | { + type: \"a96\", + a10: number + } + | { + type: \"a97\", + a10: number + } + | { + type: \"a98\", + a10: number + } + | { + type: \"a99\", + a10: number + } + | { + type: \"a100\", + a10: number + } + | { + type: \"a101\", + a11: number + } + | { + type: \"a102\", + a11: number + } + | { + type: \"a103\", + a11: number + } + | { + type: \"a104\", + a11: number + } + | { + type: \"a105\", + a11: number + } + | { + type: \"a106\", + a11: number + } + | { + type: \"a107\", + a11: number + } + | { + type: \"a108\", + a11: number + } + | { + type: \"a109\", + a11: number + } + | { + type: \"a110\", + a11: number + } + | { + type: \"a111\", + a12: number + } + | { + type: \"a112\", + a12: number + } + | { + type: \"a113\", + a12: number + } + | { + type: \"a114\", + a12: number + } + | { + type: \"a115\", + a12: number + } + | { + type: \"a116\", + a12: number + } + | { + type: \"a117\", + a12: number + } + | { + type: \"a118\", + a12: number + } + | { + type: \"a119\", + a12: number + } + | { + type: \"a120\", + a12: number + } + | { + type: \"a121\", + a13: number + } + | { + type: \"a122\", + a13: number + } + | { + type: \"a123\", + a13: number + } + | { + type: \"a124\", + a13: number + } + | { + type: \"a125\", + a13: number + } + | { + type: \"a126\", + a13: number + } + | { + type: \"a127\", + a13: number + } + | { + type: \"a128\", + a13: number + } + | { + type: \"a129\", + a13: number + } + | { + type: \"a130\", + a13: number + } + | { + type: \"a131\", + a14: number + } + | { + type: \"a132\", + a14: number + } + | { + type: \"a133\", + a14: number + } + | { + type: \"a134\", + a14: number + } + | { + type: \"a135\", + a14: number + } + | { + type: \"a136\", + a14: number + } + | { + type: \"a137\", + a14: number + } + | { + type: \"a138\", + a14: number + } + | { + type: \"a139\", + a14: number + } + | { + type: \"a140\", + a14: number + } + | { + type: \"a141\", + a15: number + } + | { + type: \"a142\", + a15: number + } + | { + type: \"a143\", + a15: number + } + | { + type: \"a144\", + a15: number + } + | { + type: \"a145\", + a15: number + } + | { + type: \"a146\", + a15: number + } + | { + type: \"a147\", + a15: number + } + | { + type: \"a148\", + a15: number + } + | { + type: \"a149\", + a15: number + } + | { + type: \"a150\", + a15: number + } + | { + type: \"a151\", + a16: number + } + | { + type: \"a152\", + a16: number + } + | { + type: \"a153\", + a16: number + } + | { + type: \"a154\", + a16: number + } + | { + type: \"a155\", + a16: number + } + | { + type: \"a156\", + a16: number + } + | { + type: \"a157\", + a16: number + } + | { + type: \"a158\", + a16: number + } + | { + type: \"a159\", + a16: number + } + | { + type: \"a160\", + a16: number + } + | { + type: \"a161\", + a17: number + } + | { + type: \"a162\", + a17: number + } + | { + type: \"a163\", + a17: number + } + | { + type: \"a164\", + a17: number + } + | { + type: \"a165\", + a17: number + } + | { + type: \"a166\", + a17: number + } + | { + type: \"a167\", + a17: number + } + | { + type: \"a168\", + a17: number + } + | { + type: \"a169\", + a17: number + } + | { + type: \"a170\", + a17: number + } + | { + type: \"a171\", + a18: number + } + | { + type: \"a172\", + a18: number + } + | { + type: \"a173\", + a18: number + } + | { + type: \"a174\", + a18: number + } + | { + type: \"a175\", + a18: number + } + | { + type: \"a176\", + a18: number + } + | { + type: \"a177\", + a18: number + } + | { + type: \"a178\", + a18: number + } + | { + type: \"a179\", + a18: number + } + | { + type: \"a180\", + a18: number + } + | { + type: \"a181\", + a19: number + } + | { + type: \"a182\", + a19: number + } + | { + type: \"a183\", + a19: number + } + | { + type: \"a184\", + a19: number + } + | { + type: \"a185\", + a19: number + } + | { + type: \"a186\", + a19: number + } + | { + type: \"a187\", + a19: number + } + | { + type: \"a188\", + a19: number + } + | { + type: \"a189\", + a19: number + } + | { + type: \"a190\", + a19: number + } + | { + type: \"a191\", + a20: number + } + | { + type: \"a192\", + a20: number + } + | { + type: \"a193\", + a20: number + } + | { + type: \"a194\", + a20: number + } + | { + type: \"a195\", + a20: number + } + | { + type: \"a196\", + a20: number + } + | { + type: \"a197\", + a20: number + } + | { + type: \"a198\", + a20: number + } + | { + type: \"a199\", + a20: number + } + | { + type: \"a200\", + a20: number + } + | { + type: \"a201\", + a21: number + } + | { + type: \"a202\", + a21: number + } + | { + type: \"a203\", + a21: number + } + | { + type: \"a204\", + a21: number + } + | { + type: \"a205\", + a21: number + } + | { + type: \"a206\", + a21: number + } + | { + type: \"a207\", + a21: number + } + | { + type: \"a208\", + a21: number + } + | { + type: \"a209\", + a21: number + } + | { + type: \"a210\", + a21: number + } + | { + type: \"a211\", + a22: number + } + | { + type: \"a212\", + a22: number + } + | { + type: \"a213\", + a22: number + } + | { + type: \"a214\", + a22: number + } + | { + type: \"a215\", + a22: number + } + | { + type: \"a216\", + a22: number + } + | { + type: \"a217\", + a22: number + } + | { + type: \"a218\", + a22: number + } + | { + type: \"a219\", + a22: number + } + | { + type: \"a220\", + a22: number + } + | { + type: \"a221\", + a23: number + } + | { + type: \"a222\", + a23: number + } + | { + type: \"a223\", + a23: number + } + | { + type: \"a224\", + a23: number + } + | { + type: \"a225\", + a23: number + } + | { + type: \"a226\", + a23: number + } + | { + type: \"a227\", + a23: number + } + | { + type: \"a228\", + a23: number + } + | { + type: \"a229\", + a23: number + } + | { + type: \"a230\", + a23: number + } + | { + type: \"a231\", + a24: number + } + | { + type: \"a232\", + a24: number + } + | { + type: \"a233\", + a24: number + } + | { + type: \"a234\", + a24: number + } + | { + type: \"a235\", + a24: number + } + | { + type: \"a236\", + a24: number + } + | { + type: \"a237\", + a24: number + } + | { + type: \"a238\", + a24: number + } + | { + type: \"a239\", + a24: number + } + | { + type: \"a240\", + a24: number + } + | { + type: \"a241\", + a25: number + } + | { + type: \"a242\", + a25: number + } + | { + type: \"a243\", + a25: number + } + | { + type: \"a244\", + a25: number + } + | { + type: \"a245\", + a25: number + } + | { + type: \"a246\", + a25: number + } + | { + type: \"a247\", + a25: number + } + | { + type: \"a248\", + a25: number + } + | { + type: \"a249\", + a25: number + } + | { + type: \"a250\", + a25: number + } + | { + type: \"a251\", + a26: number + } + | { + type: \"a252\", + a26: number + } + | { + type: \"a253\", + a26: number + } + | { + type: \"a254\", + a26: number + } + | { + type: \"a255\", + a26: number + } + | { + type: \"a256\", + a26: number + } + | { + type: \"a257\", + a26: number + } + | { + type: \"a258\", + a26: number + } + | { + type: \"a259\", + a26: number + } + | { + type: \"a260\", + a26: number + } + | { + type: \"a261\", + a27: number + } + | { + type: \"a262\", + a27: number + } + | { + type: \"a263\", + a27: number + } + | { + type: \"a264\", + a27: number + } + | { + type: \"a265\", + a27: number + } + | { + type: \"a266\", + a27: number + } + | { + type: \"a267\", + a27: number + } + | { + type: \"a268\", + a27: number + } + | { + type: \"a269\", + a27: number + } + | { + type: \"a270\", + a27: number + } + | { + type: \"a271\", + a28: number + } + | { + type: \"a272\", + a28: number + } + | { + type: \"a273\", + a28: number + } + | { + type: \"a274\", + a28: number + } + | { + type: \"a275\", + a28: number + } + | { + type: \"a276\", + a28: number + } + | { + type: \"a277\", + a28: number + } + | { + type: \"a278\", + a28: number + } + | { + type: \"a279\", + a28: number + } + | { + type: \"a280\", + a28: number + } + | { + type: \"a281\", + a29: number + } + | { + type: \"a282\", + a29: number + } + | { + type: \"a283\", + a29: number + } + | { + type: \"a284\", + a29: number + } + | { + type: \"a285\", + a29: number + } + | { + type: \"a286\", + a29: number + } + | { + type: \"a287\", + a29: number + } + | { + type: \"a288\", + a29: number + } + | { + type: \"a289\", + a29: number + } + | { + type: \"a290\", + a29: number + } + | { + type: \"a291\", + a30: number + } + | { + type: \"a292\", + a30: number + } + | { + type: \"a293\", + a30: number + } + | { + type: \"a294\", + a30: number + } + | { + type: \"a295\", + a30: number + } + | { + type: \"a296\", + a30: number + } + | { + type: \"a297\", + a30: number + } + | { + type: \"a298\", + a30: number + } + | { + type: \"a299\", + a30: number + } + | { + type: \"a300\", + a30: number + } + | { + type: \"a301\", + a31: number + } + | { + type: \"a302\", + a31: number + } + | { + type: \"a303\", + a31: number + } + | { + type: \"a304\", + a31: number + } + | { + type: \"a305\", + a31: number + } + | { + type: \"a306\", + a31: number + } + | { + type: \"a307\", + a31: number + } + | { + type: \"a308\", + a31: number + } + | { + type: \"a309\", + a31: number + } + | { + type: \"a310\", + a31: number + } + | { + type: \"a311\", + a32: number + } + | { + type: \"a312\", + a32: number + } + | { + type: \"a313\", + a32: number + } + | { + type: \"a314\", + a32: number + } + | { + type: \"a315\", + a32: number + } + | { + type: \"a316\", + a32: number + } + | { + type: \"a317\", + a32: number + } + | { + type: \"a318\", + a32: number + } + | { + type: \"a319\", + a32: number + } + | { + type: \"a320\", + a32: number + } + | { + type: \"a321\", + a33: number + } + | { + type: \"a322\", + a33: number + } + | { + type: \"a323\", + a33: number + } + | { + type: \"a324\", + a33: number + } + | { + type: \"a325\", + a33: number + } + | { + type: \"a326\", + a33: number + } + | { + type: \"a327\", + a33: number + } + | { + type: \"a328\", + a33: number + } + | { + type: \"a329\", + a33: number + } + | { + type: \"a330\", + a33: number + } + | { + type: \"a331\", + a34: number + } + | { + type: \"a332\", + a34: number + } + | { + type: \"a333\", + a34: number + } + | { + type: \"a334\", + a34: number + } + | { + type: \"a335\", + a34: number + } + | { + type: \"a336\", + a34: number + } + | { + type: \"a337\", + a34: number + } + | { + type: \"a338\", + a34: number + } + | { + type: \"a339\", + a34: number + } + | { + type: \"a340\", + a34: number + } + | { + type: \"a341\", + a35: number + } + | { + type: \"a342\", + a35: number + } + | { + type: \"a343\", + a35: number + } + | { + type: \"a344\", + a35: number + } + | { + type: \"a345\", + a35: number + } + | { + type: \"a346\", + a35: number + } + | { + type: \"a347\", + a35: number + } + | { + type: \"a348\", + a35: number + } + | { + type: \"a349\", + a35: number + } + | { + type: \"a350\", + a35: number + } + | { + type: \"a351\", + a36: number + } + | { + type: \"a352\", + a36: number + } + | { + type: \"a353\", + a36: number + } + | { + type: \"a354\", + a36: number + } + | { + type: \"a355\", + a36: number + } + | { + type: \"a356\", + a36: number + } + | { + type: \"a357\", + a36: number + } + | { + type: \"a358\", + a36: number + } + | { + type: \"a359\", + a36: number + } + | { + type: \"a360\", + a36: number + } + | { + type: \"a361\", + a37: number + } + | { + type: \"a362\", + a37: number + } + | { + type: \"a363\", + a37: number + } + | { + type: \"a364\", + a37: number + } + | { + type: \"a365\", + a37: number + } + | { + type: \"a366\", + a37: number + } + | { + type: \"a367\", + a37: number + } + | { + type: \"a368\", + a37: number + } + | { + type: \"a369\", + a37: number + } + | { + type: \"a370\", + a37: number + } + | { + type: \"a371\", + a38: number + } + | { + type: \"a372\", + a38: number + } + | { + type: \"a373\", + a38: number + } + | { + type: \"a374\", + a38: number + } + | { + type: \"a375\", + a38: number + } + | { + type: \"a376\", + a38: number + } + | { + type: \"a377\", + a38: number + } + | { + type: \"a378\", + a38: number + } + | { + type: \"a379\", + a38: number + } + | { + type: \"a380\", + a38: number + } + | { + type: \"a381\", + a39: number + } + | { + type: \"a382\", + a39: number + } + | { + type: \"a383\", + a39: number + } + | { + type: \"a384\", + a39: number + } + | { + type: \"a385\", + a39: number + } + | { + type: \"a386\", + a39: number + } + | { + type: \"a387\", + a39: number + } + | { + type: \"a388\", + a39: number + } + | { + type: \"a389\", + a39: number + } + | { + type: \"a390\", + a39: number + } + | { + type: \"a391\", + a40: number + } + | { + type: \"a392\", + a40: number + } + | { + type: \"a393\", + a40: number + } + | { + type: \"a394\", + a40: number + } + | { + type: \"a395\", + a40: number + } + | { + type: \"a396\", + a40: number + } + | { + type: \"a397\", + a40: number + } + | { + type: \"a398\", + a40: number + } + | { + type: \"a399\", + a40: number + } + | { + type: \"a400\", + a40: number + } + | { + type: \"a401\", + a41: number + } + | { + type: \"a402\", + a41: number + } + | { + type: \"a403\", + a41: number + } + | { + type: \"a404\", + a41: number + } + | { + type: \"a405\", + a41: number + } + | { + type: \"a406\", + a41: number + } + | { + type: \"a407\", + a41: number + } + | { + type: \"a408\", + a41: number + } + | { + type: \"a409\", + a41: number + } + | { + type: \"a410\", + a41: number + } + | { + type: \"a411\", + a42: number + } + | { + type: \"a412\", + a42: number + } + | { + type: \"a413\", + a42: number + } + | { + type: \"a414\", + a42: number + } + | { + type: \"a415\", + a42: number + } + | { + type: \"a416\", + a42: number + } + | { + type: \"a417\", + a42: number + } + | { + type: \"a418\", + a42: number + } + | { + type: \"a419\", + a42: number + } + | { + type: \"a420\", + a42: number + } + | { + type: \"a421\", + a43: number + } + | { + type: \"a422\", + a43: number + } + | { + type: \"a423\", + a43: number + } + | { + type: \"a424\", + a43: number + } + | { + type: \"a425\", + a43: number + } + | { + type: \"a426\", + a43: number + } + | { + type: \"a427\", + a43: number + } + | { + type: \"a428\", + a43: number + } + | { + type: \"a429\", + a43: number + } + | { + type: \"a430\", + a43: number + } + | { + type: \"a431\", + a44: number + } + | { + type: \"a432\", + a44: number + } + | { + type: \"a433\", + a44: number + } + | { + type: \"a434\", + a44: number + } + | { + type: \"a435\", + a44: number + } + | { + type: \"a436\", + a44: number + } + | { + type: \"a437\", + a44: number + } + | { + type: \"a438\", + a44: number + } + | { + type: \"a439\", + a44: number + } + | { + type: \"a440\", + a44: number + } + | { + type: \"a441\", + a45: number + } + | { + type: \"a442\", + a45: number + } + | { + type: \"a443\", + a45: number + } + | { + type: \"a444\", + a45: number + } + | { + type: \"a445\", + a45: number + } + | { + type: \"a446\", + a45: number + } + | { + type: \"a447\", + a45: number + } + | { + type: \"a448\", + a45: number + } + | { + type: \"a449\", + a45: number + } + | { + type: \"a450\", + a45: number + } + | { + type: \"a451\", + a46: number + } + | { + type: \"a452\", + a46: number + } + | { + type: \"a453\", + a46: number + } + | { + type: \"a454\", + a46: number + } + | { + type: \"a455\", + a46: number + } + | { + type: \"a456\", + a46: number + } + | { + type: \"a457\", + a46: number + } + | { + type: \"a458\", + a46: number + } + | { + type: \"a459\", + a46: number + } + | { + type: \"a460\", + a46: number + } + | { + type: \"a461\", + a47: number + } + | { + type: \"a462\", + a47: number + } + | { + type: \"a463\", + a47: number + } + | { + type: \"a464\", + a47: number + } + | { + type: \"a465\", + a47: number + } + | { + type: \"a466\", + a47: number + } + | { + type: \"a467\", + a47: number + } + | { + type: \"a468\", + a47: number + } + | { + type: \"a469\", + a47: number + } + | { + type: \"a470\", + a47: number + } + | { + type: \"a471\", + a48: number + } + | { + type: \"a472\", + a48: number + } + | { + type: \"a473\", + a48: number + } + | { + type: \"a474\", + a48: number + } + | { + type: \"a475\", + a48: number + } + | { + type: \"a476\", + a48: number + } + | { + type: \"a477\", + a48: number + } + | { + type: \"a478\", + a48: number + } + | { + type: \"a479\", + a48: number + } + | { + type: \"a480\", + a48: number + } + | { + type: \"a481\", + a49: number + } + | { + type: \"a482\", + a49: number + } + | { + type: \"a483\", + a49: number + } + | { + type: \"a484\", + a49: number + } + | { + type: \"a485\", + a49: number + } + | { + type: \"a486\", + a49: number + } + | { + type: \"a487\", + a49: number + } + | { + type: \"a488\", + a49: number + } + | { + type: \"a489\", + a49: number + } + | { + type: \"a490\", + a49: number + } + | { + type: \"a491\", + a50: number + } + | { + type: \"a492\", + a50: number + } + | { + type: \"a493\", + a50: number + } + | { + type: \"a494\", + a50: number + } + | { + type: \"a495\", + a50: number + } + | { + type: \"a496\", + a50: number + } + | { + type: \"a497\", + a50: number + } + | { + type: \"a498\", + a50: number + } + | { + type: \"a499\", + a50: number + } + | { + type: \"a500\", + a50: number + } + | { + type: \"a501\", + a51: number + } + | { + type: \"a502\", + a51: number + } + | { + type: \"a503\", + a51: number + } + | { + type: \"a504\", + a51: number + } + | { + type: \"a505\", + a51: number + } + | { + type: \"a506\", + a51: number + } + | { + type: \"a507\", + a51: number + } + | { + type: \"a508\", + a51: number + } + | { + type: \"a509\", + a51: number + } + | { + type: \"a510\", + a51: number + } + | { + type: \"a511\", + a52: number + } + | { + type: \"a512\", + a52: number + } + | { + type: \"a513\", + a52: number + } + | { + type: \"a514\", + a52: number + } + | { + type: \"a515\", + a52: number + } + | { + type: \"a516\", + a52: number + } + | { + type: \"a517\", + a52: number + } + | { + type: \"a518\", + a52: number + } + | { + type: \"a519\", + a52: number + } + | { + type: \"a520\", + a52: number + } + | { + type: \"a521\", + a53: number + } + | { + type: \"a522\", + a53: number + } + | { + type: \"a523\", + a53: number + } + | { + type: \"a524\", + a53: number + } + | { + type: \"a525\", + a53: number + } + | { + type: \"a526\", + a53: number + } + | { + type: \"a527\", + a53: number + } + | { + type: \"a528\", + a53: number + } + | { + type: \"a529\", + a53: number + } + | { + type: \"a530\", + a53: number + } + | { + type: \"a531\", + a54: number + } + | { + type: \"a532\", + a54: number + } + | { + type: \"a533\", + a54: number + } + | { + type: \"a534\", + a54: number + } + | { + type: \"a535\", + a54: number + } + | { + type: \"a536\", + a54: number + } + | { + type: \"a537\", + a54: number + } + | { + type: \"a538\", + a54: number + } + | { + type: \"a539\", + a54: number + } + | { + type: \"a540\", + a54: number + } + | { + type: \"a541\", + a55: number + } + | { + type: \"a542\", + a55: number + } + | { + type: \"a543\", + a55: number + } + | { + type: \"a544\", + a55: number + } + | { + type: \"a545\", + a55: number + } + | { + type: \"a546\", + a55: number + } + | { + type: \"a547\", + a55: number + } + | { + type: \"a548\", + a55: number + } + | { + type: \"a549\", + a55: number + } + | { + type: \"a550\", + a55: number + } + | { + type: \"a551\", + a56: number + } + | { + type: \"a552\", + a56: number + } + | { + type: \"a553\", + a56: number + } + | { + type: \"a554\", + a56: number + } + | { + type: \"a555\", + a56: number + } + | { + type: \"a556\", + a56: number + } + | { + type: \"a557\", + a56: number + } + | { + type: \"a558\", + a56: number + } + | { + type: \"a559\", + a56: number + } + | { + type: \"a560\", + a56: number + } + | { + type: \"a561\", + a57: number + } + | { + type: \"a562\", + a57: number + } + | { + type: \"a563\", + a57: number + } + | { + type: \"a564\", + a57: number + } + | { + type: \"a565\", + a57: number + } + | { + type: \"a566\", + a57: number + } + | { + type: \"a567\", + a57: number + } + | { + type: \"a568\", + a57: number + } + | { + type: \"a569\", + a57: number + } + | { + type: \"a570\", + a57: number + } + | { + type: \"a571\", + a58: number + } + | { + type: \"a572\", + a58: number + } + | { + type: \"a573\", + a58: number + } + | { + type: \"a574\", + a58: number + } + | { + type: \"a575\", + a58: number + } + | { + type: \"a576\", + a58: number + } + | { + type: \"a577\", + a58: number + } + | { + type: \"a578\", + a58: number + } + | { + type: \"a579\", + a58: number + } + | { + type: \"a580\", + a58: number + } + | { + type: \"a581\", + a59: number + } + | { + type: \"a582\", + a59: number + } + | { + type: \"a583\", + a59: number + } + | { + type: \"a584\", + a59: number + } + | { + type: \"a585\", + a59: number + } + | { + type: \"a586\", + a59: number + } + | { + type: \"a587\", + a59: number + } + | { + type: \"a588\", + a59: number + } + | { + type: \"a589\", + a59: number + } + | { + type: \"a590\", + a59: number + } + | { + type: \"a591\", + a60: number + } + | { + type: \"a592\", + a60: number + } + | { + type: \"a593\", + a60: number + } + | { + type: \"a594\", + a60: number + } + | { + type: \"a595\", + a60: number + } + | { + type: \"a596\", + a60: number + } + | { + type: \"a597\", + a60: number + } + | { + type: \"a598\", + a60: number + } + | { + type: \"a599\", + a60: number + } + | { + type: \"a600\", + a60: number + } + | { + type: \"a601\", + a61: number + } + | { + type: \"a602\", + a61: number + } + | { + type: \"a603\", + a61: number + } + | { + type: \"a604\", + a61: number + } + | { + type: \"a605\", + a61: number + } + | { + type: \"a606\", + a61: number + } + | { + type: \"a607\", + a61: number + } + | { + type: \"a608\", + a61: number + } + | { + type: \"a609\", + a61: number + } + | { + type: \"a610\", + a61: number + } + | { + type: \"a611\", + a62: number + } + | { + type: \"a612\", + a62: number + } + | { + type: \"a613\", + a62: number + } + | { + type: \"a614\", + a62: number + } + | { + type: \"a615\", + a62: number + } + | { + type: \"a616\", + a62: number + } + | { + type: \"a617\", + a62: number + } + | { + type: \"a618\", + a62: number + } + | { + type: \"a619\", + a62: number + } + | { + type: \"a620\", + a62: number + } + | { + type: \"a621\", + a63: number + } + | { + type: \"a622\", + a63: number + } + | { + type: \"a623\", + a63: number + } + | { + type: \"a624\", + a63: number + } + | { + type: \"a625\", + a63: number + } + | { + type: \"a626\", + a63: number + } + | { + type: \"a627\", + a63: number + } + | { + type: \"a628\", + a63: number + } + | { + type: \"a629\", + a63: number + } + | { + type: \"a630\", + a63: number + } + | { + type: \"a631\", + a64: number + } + | { + type: \"a632\", + a64: number + } + | { + type: \"a633\", + a64: number + } + | { + type: \"a634\", + a64: number + } + | { + type: \"a635\", + a64: number + } + | { + type: \"a636\", + a64: number + } + | { + type: \"a637\", + a64: number + } + | { + type: \"a638\", + a64: number + } + | { + type: \"a639\", + a64: number + } + | { + type: \"a640\", + a64: number + } + | { + type: \"a641\", + a65: number + } + | { + type: \"a642\", + a65: number + } + | { + type: \"a643\", + a65: number + } + | { + type: \"a644\", + a65: number + } + | { + type: \"a645\", + a65: number + } + | { + type: \"a646\", + a65: number + } + | { + type: \"a647\", + a65: number + } + | { + type: \"a648\", + a65: number + } + | { + type: \"a649\", + a65: number + } + | { + type: \"a650\", + a65: number + } + | { + type: \"a651\", + a66: number + } + | { + type: \"a652\", + a66: number + } + | { + type: \"a653\", + a66: number + } + | { + type: \"a654\", + a66: number + } + | { + type: \"a655\", + a66: number + } + | { + type: \"a656\", + a66: number + } + | { + type: \"a657\", + a66: number + } + | { + type: \"a658\", + a66: number + } + | { + type: \"a659\", + a66: number + } + | { + type: \"a660\", + a66: number + } + | { + type: \"a661\", + a67: number + } + | { + type: \"a662\", + a67: number + } + | { + type: \"a663\", + a67: number + } + | { + type: \"a664\", + a67: number + } + | { + type: \"a665\", + a67: number + } + | { + type: \"a666\", + a67: number + } + | { + type: \"a667\", + a67: number + } + | { + type: \"a668\", + a67: number + } + | { + type: \"a669\", + a67: number + } + | { + type: \"a670\", + a67: number + } + | { + type: \"a671\", + a68: number + } + | { + type: \"a672\", + a68: number + } + | { + type: \"a673\", + a68: number + } + | { + type: \"a674\", + a68: number + } + | { + type: \"a675\", + a68: number + } + | { + type: \"a676\", + a68: number + } + | { + type: \"a677\", + a68: number + } + | { + type: \"a678\", + a68: number + } + | { + type: \"a679\", + a68: number + } + | { + type: \"a680\", + a68: number + } + | { + type: \"a681\", + a69: number + } + | { + type: \"a682\", + a69: number + } + | { + type: \"a683\", + a69: number + } + | { + type: \"a684\", + a69: number + } + | { + type: \"a685\", + a69: number + } + | { + type: \"a686\", + a69: number + } + | { + type: \"a687\", + a69: number + } + | { + type: \"a688\", + a69: number + } + | { + type: \"a689\", + a69: number + } + | { + type: \"a690\", + a69: number + } + | { + type: \"a691\", + a70: number + } + | { + type: \"a692\", + a70: number + } + | { + type: \"a693\", + a70: number + } + | { + type: \"a694\", + a70: number + } + | { + type: \"a695\", + a70: number + } + | { + type: \"a696\", + a70: number + } + | { + type: \"a697\", + a70: number + } + | { + type: \"a698\", + a70: number + } + | { + type: \"a699\", + a70: number + } + | { + type: \"a700\", + a70: number + } + | { + type: \"a701\", + a71: number + } + | { + type: \"a702\", + a71: number + } + | { + type: \"a703\", + a71: number + } + | { + type: \"a704\", + a71: number + } + | { + type: \"a705\", + a71: number + } + | { + type: \"a706\", + a71: number + } + | { + type: \"a707\", + a71: number + } + | { + type: \"a708\", + a71: number + } + | { + type: \"a709\", + a71: number + } + | { + type: \"a710\", + a71: number + } + | { + type: \"a711\", + a72: number + } + | { + type: \"a712\", + a72: number + } + | { + type: \"a713\", + a72: number + } + | { + type: \"a714\", + a72: number + } + | { + type: \"a715\", + a72: number + } + | { + type: \"a716\", + a72: number + } + | { + type: \"a717\", + a72: number + } + | { + type: \"a718\", + a72: number + } + | { + type: \"a719\", + a72: number + } + | { + type: \"a720\", + a72: number + } + | { + type: \"a721\", + a73: number + } + | { + type: \"a722\", + a73: number + } + | { + type: \"a723\", + a73: number + } + | { + type: \"a724\", + a73: number + } + | { + type: \"a725\", + a73: number + } + | { + type: \"a726\", + a73: number + } + | { + type: \"a727\", + a73: number + } + | { + type: \"a728\", + a73: number + } + | { + type: \"a729\", + a73: number + } + | { + type: \"a730\", + a73: number + } + | { + type: \"a731\", + a74: number + } + | { + type: \"a732\", + a74: number + } + | { + type: \"a733\", + a74: number + } + | { + type: \"a734\", + a74: number + } + | { + type: \"a735\", + a74: number + } + | { + type: \"a736\", + a74: number + } + | { + type: \"a737\", + a74: number + } + | { + type: \"a738\", + a74: number + } + | { + type: \"a739\", + a74: number + } + | { + type: \"a740\", + a74: number + } + | { + type: \"a741\", + a75: number + } + | { + type: \"a742\", + a75: number + } + | { + type: \"a743\", + a75: number + } + | { + type: \"a744\", + a75: number + } + | { + type: \"a745\", + a75: number + } + | { + type: \"a746\", + a75: number + } + | { + type: \"a747\", + a75: number + } + | { + type: \"a748\", + a75: number + } + | { + type: \"a749\", + a75: number + } + | { + type: \"a750\", + a75: number + } + | { + type: \"a751\", + a76: number + } + | { + type: \"a752\", + a76: number + } + | { + type: \"a753\", + a76: number + } + | { + type: \"a754\", + a76: number + } + | { + type: \"a755\", + a76: number + } + | { + type: \"a756\", + a76: number + } + | { + type: \"a757\", + a76: number + } + | { + type: \"a758\", + a76: number + } + | { + type: \"a759\", + a76: number + } + | { + type: \"a760\", + a76: number + } + | { + type: \"a761\", + a77: number + } + | { + type: \"a762\", + a77: number + } + | { + type: \"a763\", + a77: number + } + | { + type: \"a764\", + a77: number + } + | { + type: \"a765\", + a77: number + } + | { + type: \"a766\", + a77: number + } + | { + type: \"a767\", + a77: number + } + | { + type: \"a768\", + a77: number + } + | { + type: \"a769\", + a77: number + } + | { + type: \"a770\", + a77: number + } + | { + type: \"a771\", + a78: number + } + | { + type: \"a772\", + a78: number + } + | { + type: \"a773\", + a78: number + } + | { + type: \"a774\", + a78: number + } + | { + type: \"a775\", + a78: number + } + | { + type: \"a776\", + a78: number + } + | { + type: \"a777\", + a78: number + } + | { + type: \"a778\", + a78: number + } + | { + type: \"a779\", + a78: number + } + | { + type: \"a780\", + a78: number + } + | { + type: \"a781\", + a79: number + } + | { + type: \"a782\", + a79: number + } + | { + type: \"a783\", + a79: number + } + | { + type: \"a784\", + a79: number + } + | { + type: \"a785\", + a79: number + } + | { + type: \"a786\", + a79: number + } + | { + type: \"a787\", + a79: number + } + | { + type: \"a788\", + a79: number + } + | { + type: \"a789\", + a79: number + } + | { + type: \"a790\", + a79: number + } + | { + type: \"a791\", + a80: number + } + | { + type: \"a792\", + a80: number + } + | { + type: \"a793\", + a80: number + } + | { + type: \"a794\", + a80: number + } + | { + type: \"a795\", + a80: number + } + | { + type: \"a796\", + a80: number + } + | { + type: \"a797\", + a80: number + } + | { + type: \"a798\", + a80: number + } + | { + type: \"a799\", + a80: number + } + | { + type: \"a800\", + a80: number + } + | { + type: \"a801\", + a81: number + } + | { + type: \"a802\", + a81: number + } + | { + type: \"a803\", + a81: number + } + | { + type: \"a804\", + a81: number + } + | { + type: \"a805\", + a81: number + } + | { + type: \"a806\", + a81: number + } + | { + type: \"a807\", + a81: number + } + | { + type: \"a808\", + a81: number + } + | { + type: \"a809\", + a81: number + } + | { + type: \"a810\", + a81: number + } + | { + type: \"a811\", + a82: number + } + | { + type: \"a812\", + a82: number + } + | { + type: \"a813\", + a82: number + } + | { + type: \"a814\", + a82: number + } + | { + type: \"a815\", + a82: number + } + | { + type: \"a816\", + a82: number + } + | { + type: \"a817\", + a82: number + } + | { + type: \"a818\", + a82: number + } + | { + type: \"a819\", + a82: number + } + | { + type: \"a820\", + a82: number + } + | { + type: \"a821\", + a83: number + } + | { + type: \"a822\", + a83: number + } + | { + type: \"a823\", + a83: number + } + | { + type: \"a824\", + a83: number + } + | { + type: \"a825\", + a83: number + } + | { + type: \"a826\", + a83: number + } + | { + type: \"a827\", + a83: number + } + | { + type: \"a828\", + a83: number + } + | { + type: \"a829\", + a83: number + } + | { + type: \"a830\", + a83: number + } + | { + type: \"a831\", + a84: number + } + | { + type: \"a832\", + a84: number + } + | { + type: \"a833\", + a84: number + } + | { + type: \"a834\", + a84: number + } + | { + type: \"a835\", + a84: number + } + | { + type: \"a836\", + a84: number + } + | { + type: \"a837\", + a84: number + } + | { + type: \"a838\", + a84: number + } + | { + type: \"a839\", + a84: number + } + | { + type: \"a840\", + a84: number + } + | { + type: \"a841\", + a85: number + } + | { + type: \"a842\", + a85: number + } + | { + type: \"a843\", + a85: number + } + | { + type: \"a844\", + a85: number + } + | { + type: \"a845\", + a85: number + } + | { + type: \"a846\", + a85: number + } + | { + type: \"a847\", + a85: number + } + | { + type: \"a848\", + a85: number + } + | { + type: \"a849\", + a85: number + } + | { + type: \"a850\", + a85: number + } + | { + type: \"a851\", + a86: number + } + | { + type: \"a852\", + a86: number + } + | { + type: \"a853\", + a86: number + } + | { + type: \"a854\", + a86: number + } + | { + type: \"a855\", + a86: number + } + | { + type: \"a856\", + a86: number + } + | { + type: \"a857\", + a86: number + } + | { + type: \"a858\", + a86: number + } + | { + type: \"a859\", + a86: number + } + | { + type: \"a860\", + a86: number + } + | { + type: \"a861\", + a87: number + } + | { + type: \"a862\", + a87: number + } + | { + type: \"a863\", + a87: number + } + | { + type: \"a864\", + a87: number + } + | { + type: \"a865\", + a87: number + } + | { + type: \"a866\", + a87: number + } + | { + type: \"a867\", + a87: number + } + | { + type: \"a868\", + a87: number + } + | { + type: \"a869\", + a87: number + } + | { + type: \"a870\", + a87: number + } + | { + type: \"a871\", + a88: number + } + | { + type: \"a872\", + a88: number + } + | { + type: \"a873\", + a88: number + } + | { + type: \"a874\", + a88: number + } + | { + type: \"a875\", + a88: number + } + | { + type: \"a876\", + a88: number + } + | { + type: \"a877\", + a88: number + } + | { + type: \"a878\", + a88: number + } + | { + type: \"a879\", + a88: number + } + | { + type: \"a880\", + a88: number + } + | { + type: \"a881\", + a89: number + } + | { + type: \"a882\", + a89: number + } + | { + type: \"a883\", + a89: number + } + | { + type: \"a884\", + a89: number + } + | { + type: \"a885\", + a89: number + } + | { + type: \"a886\", + a89: number + } + | { + type: \"a887\", + a89: number + } + | { + type: \"a888\", + a89: number + } + | { + type: \"a889\", + a89: number + } + | { + type: \"a890\", + a89: number + } + | { + type: \"a891\", + a90: number + } + | { + type: \"a892\", + a90: number + } + | { + type: \"a893\", + a90: number + } + | { + type: \"a894\", + a90: number + } + | { + type: \"a895\", + a90: number + } + | { + type: \"a896\", + a90: number + } + | { + type: \"a897\", + a90: number + } + | { + type: \"a898\", + a90: number + } + | { + type: \"a899\", + a90: number + } + | { + type: \"a900\", + a90: number + } + | { + type: \"a901\", + a91: number + } + | { + type: \"a902\", + a91: number + } + | { + type: \"a903\", + a91: number + } + | { + type: \"a904\", + a91: number + } + | { + type: \"a905\", + a91: number + } + | { + type: \"a906\", + a91: number + } + | { + type: \"a907\", + a91: number + } + | { + type: \"a908\", + a91: number + } + | { + type: \"a909\", + a91: number + } + | { + type: \"a910\", + a91: number + } + | { + type: \"a911\", + a92: number + } + | { + type: \"a912\", + a92: number + } + | { + type: \"a913\", + a92: number + } + | { + type: \"a914\", + a92: number + } + | { + type: \"a915\", + a92: number + } + | { + type: \"a916\", + a92: number + } + | { + type: \"a917\", + a92: number + } + | { + type: \"a918\", + a92: number + } + | { + type: \"a919\", + a92: number + } + | { + type: \"a920\", + a92: number + } + | { + type: \"a921\", + a93: number + } + | { + type: \"a922\", + a93: number + } + | { + type: \"a923\", + a93: number + } + | { + type: \"a924\", + a93: number + } + | { + type: \"a925\", + a93: number + } + | { + type: \"a926\", + a93: number + } + | { + type: \"a927\", + a93: number + } + | { + type: \"a928\", + a93: number + } + | { + type: \"a929\", + a93: number + } + | { + type: \"a930\", + a93: number + } + | { + type: \"a931\", + a94: number + } + | { + type: \"a932\", + a94: number + } + | { + type: \"a933\", + a94: number + } + | { + type: \"a934\", + a94: number + } + | { + type: \"a935\", + a94: number + } + | { + type: \"a936\", + a94: number + } + | { + type: \"a937\", + a94: number + } + | { + type: \"a938\", + a94: number + } + | { + type: \"a939\", + a94: number + } + | { + type: \"a940\", + a94: number + } + | { + type: \"a941\", + a95: number + } + | { + type: \"a942\", + a95: number + } + | { + type: \"a943\", + a95: number + } + | { + type: \"a944\", + a95: number + } + | { + type: \"a945\", + a95: number + } + | { + type: \"a946\", + a95: number + } + | { + type: \"a947\", + a95: number + } + | { + type: \"a948\", + a95: number + } + | { + type: \"a949\", + a95: number + } + | { + type: \"a950\", + a95: number + } + | { + type: \"a951\", + a96: number + } + | { + type: \"a952\", + a96: number + } + | { + type: \"a953\", + a96: number + } + | { + type: \"a954\", + a96: number + } + | { + type: \"a955\", + a96: number + } + | { + type: \"a956\", + a96: number + } + | { + type: \"a957\", + a96: number + } + | { + type: \"a958\", + a96: number + } + | { + type: \"a959\", + a96: number + } + | { + type: \"a960\", + a96: number + } + | { + type: \"a961\", + a97: number + } + | { + type: \"a962\", + a97: number + } + | { + type: \"a963\", + a97: number + } + | { + type: \"a964\", + a97: number + } + | { + type: \"a965\", + a97: number + } + | { + type: \"a966\", + a97: number + } + | { + type: \"a967\", + a97: number + } + | { + type: \"a968\", + a97: number + } + | { + type: \"a969\", + a97: number + } + | { + type: \"a970\", + a97: number + } + | { + type: \"a971\", + a98: number + } + | { + type: \"a972\", + a98: number + } + | { + type: \"a973\", + a98: number + } + | { + type: \"a974\", + a98: number + } + | { + type: \"a975\", + a98: number + } + | { + type: \"a976\", + a98: number + } + | { + type: \"a977\", + a98: number + } + | { + type: \"a978\", + a98: number + } + | { + type: \"a979\", + a98: number + } + | { + type: \"a980\", + a98: number + } + | { + type: \"a981\", + a99: number + } + | { + type: \"a982\", + a99: number + } + | { + type: \"a983\", + a99: number + } + | { + type: \"a984\", + a99: number + } + | { + type: \"a985\", + a99: number + } + | { + type: \"a986\", + a99: number + } + | { + type: \"a987\", + a99: number + } + | { + type: \"a988\", + a99: number + } + | { + type: \"a989\", + a99: number + } + | { + type: \"a990\", + a99: number + } + | { + type: \"a991\", + a100: number + } + | { + type: \"a992\", + a100: number + } + | { + type: \"a993\", + a100: number + } + | { + type: \"a994\", + a100: number + } + | { + type: \"a995\", + a100: number + } + | { + type: \"a996\", + a100: number + } + | { + type: \"a997\", + a100: number + } + | { + type: \"a998\", + a100: number + } + | { + type: \"a999\", + a100: number + } + | { + type: \"a1000\", + a100: number + }; function foo(x: TAction): TAction { return x; } diff --git a/tests/flow/union/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union/__snapshots__/jsfmt.spec.js.snap index 1e617349e9d2..9862fe13919c 100644 --- a/tests/flow/union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union/__snapshots__/jsfmt.spec.js.snap @@ -107,7 +107,9 @@ declare var myclass: Myclass; myclass.myfun([\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", function (ar) {}]) myclass.myfun([\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", function (ar) {}]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class Myclass { myfun(myarray: Array): any } +declare class Myclass { + myfun(myarray: Array): any +} declare var myclass: Myclass; myclass.myfun([\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", function(ar) {}]); @@ -278,21 +280,35 @@ const u3 : union2 = { * @flow */ -type t1 = { p1: number }; +type t1 = { + p1: number +}; -type t2 = { p2: number }; +type t2 = { + p2: number +}; -type t3 = { p3: number }; +type t3 = { + p3: number +}; type intersected = t1 & t2; type union = intersected | t3; type union2 = t3 | intersected; -const u1: union = { p3: 3 }; +const u1: union = { + p3: 3 +}; -const u2: union = { p1: 1, p2: 2 }; +const u2: union = { + p1: 1, + p2: 2 +}; -const u3: union2 = { p1: 1, p2: 2 }; +const u3: union2 = { + p1: 1, + p2: 2 +}; " `; @@ -420,7 +436,10 @@ function CD(b) { qux2(new C()); } -declare class F { foo(x: number): void, foo(x: string): void } +declare class F { + foo(x: number): void, + foo(x: string): void +} function corge(b) { var x = b ? \"\" : 0; new F().foo(x); @@ -10489,6 +10508,8 @@ type ErrorCode = | 4998 | 4999; -type Data = { error?: ErrorCode }; +type Data = { + error?: ErrorCode +}; " `; diff --git a/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap index 84a5c5816d83..113d8052d27f 100644 --- a/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap @@ -65,7 +65,9 @@ import { B, C } from \"./issue-824-helper\"; type K = B | C; -type I = { which(): number }; +type I = { + which(): number +}; export default class A { static foo(p: K): boolean { @@ -119,7 +121,9 @@ var bar: Array<{b: ?boolean, c: number} | {b: boolean}> = [ var bar: Array<{ b: ?boolean, c: number } | { b: boolean }> = [ { b: true, c: 123 }, - { b: true } + { + b: true + } ]; " `; @@ -135,8 +139,16 @@ exports[`test issue-1371.js 1`] = ` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function create( a: any -): { type: \"B\", data: number } | { type: \"A\", data: string } { - return { type: \"A\", data: a }; +): + | { type: \"B\", data: number } + | { + type: \"A\", + data: string + } { + return { + type: \"A\", + data: a + }; } " `; @@ -200,9 +212,19 @@ function printAll(val: MyType) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type Common = {}; -type A = Common & { type: \"A\", foo: number }; +type A = + & Common + & { + type: \"A\", + foo: number + }; -type B = Common & { type: \"B\", foo: Array }; +type B = + & Common + & { + type: \"B\", + foo: Array + }; type MyType = A | B; @@ -247,9 +269,19 @@ function printAll(val: MyType) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type Common = {}; -type A = { type: \"A\", foo: number } & Common; +type A = + & { + type: \"A\", + foo: number + } + & Common; -type B = { type: \"B\", foo: Array } & Common; +type B = + & { + type: \"B\", + foo: Array + } + & Common; type MyType = A | B; @@ -297,15 +329,30 @@ if (data.kind === \"system\") { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -type DataBase = { id: string, name: string }; +type DataBase = { + id: string, + name: string +}; -type UserData = DataBase & { kind: \"user\" }; +type UserData = + & DataBase + & { + kind: \"user\" + }; -type SystemData = DataBase & { kind: \"system\" }; +type SystemData = + & DataBase + & { + kind: \"system\" + }; type Data = UserData | SystemData; -const data: Data = { id: \"\", name: \"\", kind: \"system\" }; +const data: Data = { + id: \"\", + name: \"\", + kind: \"system\" +}; if (data.kind === \"system\") { (data: SystemData); @@ -362,12 +409,25 @@ function test(f: Foo| EmptyFoo) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* @flow */ -type Entity = { id: T, name: string }; +type Entity = { + id: T, + name: string +}; type StringEntity = Entity; -type Foo = StringEntity & { bars: Object, kind: 1 }; -type EmptyFoo = StringEntity & { bars: null, kind: 2 }; +type Foo = + & StringEntity + & { + bars: Object, + kind: 1 + }; +type EmptyFoo = + & StringEntity + & { + bars: null, + kind: 2 + }; function test(f: Foo | EmptyFoo) { if (f.kind === 1) { @@ -625,7 +685,9 @@ type B3 = string; function alias(a: T | T) {} alias({ x: (x: V) => {} }); -type T = { x: U }; +type T = { + x: U +}; type U = (x: V) => void; type V = X; @@ -1266,9 +1328,16 @@ function rec(x: F): G | H { return x; } // polymorphic recursive types -type F = { f: F, x: X }; -type G = { x: number }; -type H = { x: string }; +type F = { + f: F, + x: X +}; +type G = { + x: number +}; +type H = { + x: string +}; function rec(x: F): G | H { return x; @@ -1294,8 +1363,14 @@ exports[`test test13.js 1`] = ` /* ensure there are no unintended side effects when trying branches */ ({ type: \"B\", id: \"hi\" }: - | { type: \"A\", id: ?string } - | { type: \"B\", id: string }); + | { + type: \"A\", + id: ?string + } + | { + type: \"B\", + id: string + }); " `; @@ -1318,7 +1393,9 @@ function foo(c: C) { // annotations -declare class C { get(): X } +declare class C { + get(): X +} function union(o: { x: string } | { x: number }) {} @@ -1460,7 +1537,10 @@ new C().m(f()); // method overloads -declare class C { m(x: number): void, m(x: string): void } +declare class C { + m(x: number): void, + m(x: string): void +} function f() { return 0; @@ -1492,7 +1572,10 @@ function m() { return new D(); } -declare class D { constructor(_: void): void, constructor(_: null): void } +declare class D { + constructor(_: void): void, + constructor(_: null): void +} " `; @@ -1556,7 +1639,15 @@ function str() { // annotations for disjoint unions -type T = { type: \"FOO\", x: number } | { type: \"BAR\", x: string }; +type T = + | { + type: \"FOO\", + x: number + } + | { + type: \"BAR\", + x: string + }; ({ type: (bar(): \"BAR\"), x: str() }: T); @@ -1603,9 +1694,16 @@ function foo(x: T) { type Empty = {}; -type Success = { type: \"SUCCESS\", result: string }; +type Success = { + type: \"SUCCESS\", + result: string +}; -type Error = { type: \"ERROR\" } & Empty; +type Error = + & { + type: \"ERROR\" + } + & Empty; export type T = Success | Error; @@ -1918,7 +2016,15 @@ type ActionType = const Constants = require(\"./test30-helper\"); -type ActionType = { type: \"foo\", x: number } | { type: \"bar\", x: number }; +type ActionType = + | { + type: \"foo\", + x: number + } + | { + type: \"bar\", + x: number + }; ({ type: Constants.BAR, x: 0 }: ActionType); " @@ -1934,7 +2040,10 @@ module.exports = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // @noflow -module.exports = { FOO: \"foo\", BAR: \"bar\" }; +module.exports = { + FOO: \"foo\", + BAR: \"bar\" +}; " `; @@ -1972,7 +2081,9 @@ function foo(): ImmutableMap { interface SomeIterator {} -interface SomeIterable { it(): SomeIterator } +interface SomeIterable { + it(): SomeIterator +} declare class SomeMap { it(): SomeIterator<[K, V]>, diff --git a/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap index 0dbc2c55effa..01e0161f4392 100644 --- a/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap @@ -28,7 +28,9 @@ declare class Rows { ): X; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -declare class Set { add(): Set } +declare class Set { + add(): Set +} declare class Row { reduce_row( diff --git a/tests/interface/__snapshots__/jsfmt.spec.js.snap b/tests/interface/__snapshots__/jsfmt.spec.js.snap index a08e29fc943b..0fbad8e1ed1e 100644 --- a/tests/interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/interface/__snapshots__/jsfmt.spec.js.snap @@ -4,7 +4,9 @@ exports[`test module.js 1`] = ` } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ declare module X { - declare interface Y { x: number } + declare interface Y { + x: number + } } " `; diff --git a/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap b/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap index 3359789c6cc6..4d19590080a2 100644 --- a/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap +++ b/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap @@ -72,16 +72,10 @@ export const log = y => { console.log(\'very, very, very long very, very long text\') }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -const formatData = pipe( - zip, - map(([ref, data]) => ({ +const formatData = pipe(zip, map(([ref, data]) => ({ nodeId: ref.nodeId.toString(), ...attributeFromDataValue(ref.attributeId, data) - })), - groupBy(prop(\"nodeId\")), - map(mergeAll), - values -); + })), groupBy(prop(\"nodeId\")), map(mergeAll), values); export const setProp = y => ({ ...y, diff --git a/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap b/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap index 7b6f8904cb84..2ac75f445366 100644 --- a/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap +++ b/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap @@ -41,12 +41,22 @@ const c = classnames({ \"some-prop\": [\"foo\", \"bar\", \"foo\", \"bar\", \"foo\", \"bar\", \"foo\", \"bar\", \"foo\"] }); -const d = classnames({ \"some-prop\": () => {} }); +const d = classnames({ + \"some-prop\": () => {} +}); -const e = classnames({ \"some-prop\": function bar() {} }); +const e = classnames({ + \"some-prop\": function bar() {} +}); const f = classnames({ - \"some-prop\": { foo: \"bar\", bar: \"foo\", foo: \"bar\", bar: \"foo\", foo: \"bar\" } + \"some-prop\": { + foo: \"bar\", + bar: \"foo\", + foo: \"bar\", + bar: \"foo\", + foo: \"bar\" + } }); const g = classnames({ diff --git a/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap b/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap index da002101d7d8..a4671d2631d1 100644 --- a/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap +++ b/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap @@ -5,6 +5,8 @@ type Bar = { [string]: number } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ type Foo = (any) => string; -type Bar = { [string]: number }; +type Bar = { + [string]: number +}; " `; diff --git a/tests/ternaries/__snapshots__/jsfmt.spec.js.snap b/tests/ternaries/__snapshots__/jsfmt.spec.js.snap index 84f0402ff0f1..fa616b993d5f 100644 --- a/tests/ternaries/__snapshots__/jsfmt.spec.js.snap +++ b/tests/ternaries/__snapshots__/jsfmt.spec.js.snap @@ -19,7 +19,12 @@ const obj1 = conditionIsTruthy const obj2 = conditionIsTruthy ? shortThing - : { some: \"long\", object: \"with\", lots: \"of\", stuff }; + : { + some: \"long\", + object: \"with\", + lots: \"of\", + stuff + }; const obj3 = conditionIsTruthy ? { diff --git a/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap index b03422f522ff..2096a8ffd7e6 100644 --- a/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -83,7 +83,13 @@ const aLong = { eHasABooleanExpression: a === a, }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -const a = { b: true, c: { c1: \"hello\" }, d: false }; +const a = { + b: true, + c: { + c1: \"hello\" + }, + d: false +}; const aLong = { bHasALongName: \"a-long-value\", @@ -124,7 +130,13 @@ const aLong = { eHasABooleanExpression: a === a, }; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -const a = { b: true, c: { c1: \"hello\" }, d: false }; +const a = { + b: true, + c: { + c1: \"hello\", + }, + d: false, +}; const aLong = { bHasALongName: \"a-long-value\", diff --git a/tests/unicode/__snapshots__/jsfmt.spec.js.snap b/tests/unicode/__snapshots__/jsfmt.spec.js.snap index ebc7b603346b..352e5288597b 100644 --- a/tests/unicode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/unicode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,8 @@ exports[`test keys.js 1`] = ` "({\'この事はつもり素晴らしいことさ\': \'35jL9V\'}) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -({ \"この事はつもり素晴らしいことさ\": \"35jL9V\" }); +({ + \"この事はつもり素晴らしいことさ\": \"35jL9V\" +}); " `;