| 1 | export interface Generable { |
| 2 | toJS?(): string |
| 3 | toTS(): string |
| 4 | toBrowserJS?(): string |
| 5 | toTSWithoutNamespace?(): string |
| 6 | } |
| 7 | |
| 8 | export function JS(gen: Generable): string { |
| 9 | return gen.toJS?.() ?? class="st">'' |
no outgoing calls
no test coverage detected