(times: number)
| 731 | |
| 732 | // times is how many times arktype's size the build's validators are |
| 733 | export const writeLargerMessage = (times: number): string => |
| 734 | `precompile: this build's validators, each compiled to check fastest, are about ${times.toFixed(1)} times the size of arktype, which they replace, so the bundle is larger than one creating its Types as it runs. Set preset: "smallest" to write them as calls to checkers they share, or optimize: "speed" to build without this warning.` |
| 735 | |
| 736 | // where the build wrote them for size itself, as a browser loads the bundle |
| 737 | export const writeChoseSizeMessage = (times: number): string => |
no outgoing calls
no test coverage detected