Skip to content

Bump typescript version of StackBlitz #1708

@KATT

Description

@KATT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions