Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for TypeScript 4.4 #648

Merged
merged 1 commit into from
Sep 25, 2021
Merged

Fix for TypeScript 4.4 #648

merged 1 commit into from
Sep 25, 2021

Conversation

wojpawlik
Copy link
Contributor

Before:

$ deno cache https://deno.land/x/[email protected]/mod.ts
Check https://deno.land/x/[email protected]/mod.ts
error: TS2564 [ERROR]: Property 'is' has no initializer and is not definitely assigned in the constructor.
  is: never;
  ~~
    at https://deno.land/x/[email protected]/types.ts:156:3

TS2564 [ERROR]: Property 'check' has no initializer and is not definitely assigned in the constructor.
  check: never;
  ~~~~~
    at https://deno.land/x/[email protected]/types.ts:159:3

Found 2 errors.

Why is https://deno.land/x/zod 2 patch releases behind npm?

@wojpawlik
Copy link
Contributor Author

$ deno --version
deno 1.14.0 (release, x86_64-pc-windows-msvc)
v8 9.4.146.15
typescript 4.4.2

Anyway, I believe https://github.com/wojpawlik/deno2node would simplify your build process.

@BastiDood
Copy link

BastiDood commented Sep 23, 2021

Why is https://deno.land/x/zod 2 patch releases behind npm?

This is because deno.land/x only publishes a new version whenever the source repository adds a new tag/release. As far as deno.land/x is concerned, the "latest" release from this repo is 3.8.0 (as of writing), hence the two-version lag.

@colinhacks colinhacks merged commit 1afab95 into colinhacks:master Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants