webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Bump typescript version of StackBlitz

Open KATT opened this issue 10 months ago • 0 comments

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

KATT avatar Jan 25 '25 11:01 KATT