idlize
1
2declare type Vector1 = {3x0: number4x1: number5x2: number6x3: number7}
8
9declare type Vector2 = {10t: number11x: number12y: number13z: number14}
15
16declare interface VectorInterface {17(): VectorAttribute18}
19declare const Vector: VectorInterface20
21declare class VectorAttribute extends CommonMethod<VectorAttribute> {22
23testVector1(value: Vector1): VectorAttribute24
25testVector2(value: Vector2): VectorAttribute26
27testUnionVector1Number(value: Vector1 | number): VectorAttribute28
29testUnionVector2Number(value: Vector2 | number): VectorAttribute30}
31