UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

57 lines (51 loc) 1.14 kB
// @flow export class Data1<A> { +value0: A; constructor(value0: A) { (this: any).value0 = value0 } } export class Data2<A, B> { +value0: A; +value1: B; constructor(value0: A, value1: B) { (this: any).value0 = value0; (this: any).value1 = value1 } } export class Data3<A, B, C> { +value0: A; +value1: B; +value2: C; constructor(value0: A, value1: B, value2: C) { (this: any).value0 = value0; (this: any).value1 = value1; (this: any).value2 = value2 } } export class Data4<A, B, C, D> { +value0: A; +value1: B; +value2: C; +value3: D; constructor(value0: A, value1: B, value2: C, value3: D) { (this: any).value0 = value0; (this: any).value1 = value1; (this: any).value2 = value2; (this: any).value3 = value3 } } export class Data5<A, B, C, D, E> { +value0: A; +value1: B; +value2: C; +value3: D; +value4: E; constructor(value0: A, value1: B, value2: C, value3: D, value4: E) { (this: any).value0 = value0; (this: any).value1 = value1; (this: any).value2 = value2; (this: any).value3 = value3; (this: any).value4 = value4 } }