Christopher Hiller

Results 432 comments of Christopher Hiller

@badboy I didn't think of delegating the task to Travis. However, say I'm just running `grunt gh-pages` from the command-line.

That won't work; `z.function()` wants a `ZodTuple` and your example gives it a `ZodUnion`. You'd have to do this sort of thing: ```ts const func = z.function(z.tuple([])).or(z.function(z.tuple([z.boolean()]))) ```

Having given up on `implement()`, I finally settled on this _awful hack_, which typechecks and works at runtime (but would need tweaking if using any `ZodEffect`s): ```ts type MyFunc =...

We get the location of `libnpx` from [global-dirs](https://npm.im/global-dirs). Can you please: 1. `npm install [email protected]` somewhere 1. Run `node -e "console.log(require('global-dirs'))"` and paste the output

there are two problems here: 1. I think I'm calling something incorrectly for windows, because that's trying to run a bash script. I'm not sure _where_ exactly that problem is...

This is surfacing via `core-js` and may be configurable via babel options. See https://github.com/zloirock/core-js/pull/249 I'll take a further look.

This is symptomatic of a bigger issue: we are leaking polyfills into the global context. I _think_ I might have a fix for this... sending PR

still misconfigured... i hate javascript

yeah, I am not sure how to do this. using the "runtime" babel helper, doesn't make sense, because _everything_ must be bundled (no externals). using "bundled" pollutes the globals.

I think I could curate the polyfills w/o needing to swap out babel. it just seems incredibly weird that babel won't handle this for us. afaict there are some movements...