(index: number)
| 129 | } |
| 130 | |
| 131 | export function getCoordsXYZ(index: number): string { |
| 132 | if (index === 0) { |
| 133 | return 'x'; |
| 134 | } else if (index === 1) { |
| 135 | return 'y'; |
| 136 | } else if (index === 2) { |
| 137 | return 'z'; |
| 138 | } else if (index === 3) { |
| 139 | return 'w'; |
| 140 | } else if (index === 4) { |
| 141 | return 'u'; |
| 142 | } else if (index === 5) { |
| 143 | return 'v'; |
| 144 | } else { |
| 145 | throw Error(`Index ${index} is not yet supported`); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | export function getMainHeaderString(): string; |
| 150 | export function getMainHeaderString(index: string): string; |
no test coverage detected
searching dependent graphs…