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

Bump typescript version of StackBlitz #1708

Open
1 task done
KATT opened this issue Jan 25, 2025 · 0 comments
Open
1 task done

Bump typescript version of StackBlitz #1708

KATT opened this issue Jan 25, 2025 · 0 comments

Comments

@KATT
Copy link

KATT commented Jan 25, 2025

Describe the bug

tRPC requires typescript > 5.7, which means that some features are broken in our example projects

https://trpc.io/?try=minimal#try-it-out

Link to the blitz that caused the error

https://stackblitz.com/edit/trpc-trpc-9mdxad6u?file=src%2Fclient%2Findex.ts&file=src%2Fserver%2Findex.ts

Steps to reproduce

type Test = AsyncIterable<1, 2, 3>;

Expected behavior

Works, as AsyncIterable has 3 generic arguments in later versions

Parity with Local

Screenshots

  • Image
  • Image

Platform

Browser name  = Chrome
Full version  = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 111922611,
  "usedJSHeapSize": 108777183,
  "jsHeapSizeLimit": 4294705152
}
Hash = 1b4252dd

Additional context

Leads to any in our examples that use StackBlitz

Image

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

No branches or pull requests

1 participant