(ast: Arrays, rest: ReadonlyArray<AST>)
| 2493 | |
| 2494 | /** @internal */ |
| 2495 | export function tupleWithRest(ast: Arrays, rest: ReadonlyArray<AST>): Arrays { |
| 2496 | if (ast.encoding) { |
| 2497 | throw new Error("TupleWithRest does not support encodings") |
| 2498 | } |
| 2499 | return new Arrays(ast.isMutable, ast.elements, rest, undefined, ast.checks) |
| 2500 | } |
| 2501 | |
| 2502 | type Type = |
| 2503 | | "null" |
nothing calls this directly
no outgoing calls
no test coverage detected