(brands: ReadonlyArray<string>)
| 311 | } |
| 312 | |
| 313 | function runtimeBrands(brands: ReadonlyArray<string>): string { |
| 314 | return brands.length === 0 |
| 315 | ? "" |
| 316 | : `.pipe(${brands.map((brand) => `Schema.brand(${format(brand)})`).join(", ")})` |
| 317 | } |
| 318 | |
| 319 | function typeBrands(brands: ReadonlyArray<string>): string { |
| 320 | if (brands.length === 0) return "" |