Skip to content

Negated Types: Define Extract and Exclude in terms of intersections and negations - #64515

Closed
Wesley Wigham (weswigham) wants to merge 2 commits into
weswigham/negated-typesfrom
weswigham/negated-types-extract-exclude-change
Closed

Wesley Wigham (weswigham) wants to merge 2 commits into
weswigham/negated-typesfrom
weswigham/negated-types-extract-exclude-change

Conversation

@weswigham

@weswigham Wesley Wigham (weswigham) commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Swaps Extract to T & U and Exclude to T & not U, instead of their current conditional forms.

This isn't a strict improvement - in some ways, it's a step backward. On the extreme end, consider that Extract<T, any> previously yields T, but now yields any - the substitution behavior in conditionals hides the type erasure any (top level or nested) performs.

Copilot AI balanced review requested due to automatic review settings September 28, 2026 20:22
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Sep 28, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 28, 2026
@weswigham
Wesley Wigham (weswigham) changed the base branch from main to weswigham/negated-types September 28, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

* Construct the type of values in T that are not in U
*/
type Exclude<T, U> = T extends U ? never : T;
type Exclude<T, U> = T & not U;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've played a little bit with something recently and this difference came to my attention:

type S = { kind: "a" | "b"; value: number };
type A = { kind: "a"; value: number };
type B = { kind: "b"; value: number };

type Nested = Exclude<Exclude<S, B>, A>; // { kind: "a" | "b"; value: number; }
type Merged = Exclude<S, A | B>; // never

This PR "fixes" that - both of those reduce down to never (I've checked). I think this makes more sense for an average user, it makes for an interesting test case so it might be worth adding to this PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the base PR

@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-extract-exclude-change branch from a85d8ae to 594cbf6 Compare September 29, 2026 21:17
@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-extract-exclude-change branch from 594cbf6 to 67cadab Compare October 21, 2026 17:53
@weswigham
Wesley Wigham (weswigham) marked this pull request as draft October 28, 2026 17:52
@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-extract-exclude-change branch from 67cadab to 7b2ace0 Compare October 28, 2026 21:53
@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-extract-exclude-change branch from 7b2ace0 to 5d931b8 Compare November 24, 2026 18:07
@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test this

@typescript-automation

typescript-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started
user test this ✅ Started 👀 Results
run dt ✅ Started 👀 Results · Part 2 · Part 3 · Part 4 · Part 5
perf test this faster ✅ Started 👀 Results

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), the results of running the DT tests are ready.

There were interesting changes:

Branch only errors: mdx

Package: mdx

Branch error:

Project scope: tsconfig.preact.json, tsconfig.react.json

Error: types/mdx/preact-tests.tsx:73:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:78:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:86:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:92:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:98:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:104:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:110:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:137:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:142:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:150:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:156:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:162:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:168:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:174:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:201:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:206:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:214:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:220:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:226:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:232:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:238:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:265:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:270:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:278:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:284:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:290:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:296:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:302:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:329:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:334:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:342:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:348:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:354:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:360:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:366:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:393:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:398:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:406:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:412:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:418:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:424:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:430:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:457:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:462:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:470:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:476:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:482:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:488:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:494:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:521:11
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:526:13
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:534:17
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:540:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:546:25
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:552:31
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:558:33
TypeScript@local tsconfig.preact.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/preact-tests.tsx:75:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:80:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:139:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:144:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:203:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:208:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:267:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:272:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:331:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:336:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:395:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:400:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:459:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:464:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/preact-tests.tsx:523:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLAnchorElement> || AnchorHTMLAttributes<HTMLAnchorElement> || AccessibleAnchorHTMLAttributes<HTMLAnchorElement>
got:
  any

types/mdx/preact-tests.tsx:528:13
TypeScript@local tsconfig.preact.json expected type to be:
  HTMLAttributes<HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:65:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:70:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:78:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:84:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:90:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:96:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:102:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:129:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:134:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:142:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:148:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:154:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:160:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:166:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:193:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:198:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:206:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:212:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:218:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:224:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:230:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:257:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:262:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:270:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:276:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:282:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:288:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:294:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:321:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:326:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:334:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:340:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:346:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:352:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:358:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:385:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:390:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:398:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:404:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:410:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:416:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:422:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:449:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:454:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:462:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:468:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:474:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:480:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:486:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:513:11
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:518:13
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:526:17
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:532:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:538:25
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:544:31
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:550:33
TypeScript@local tsconfig.react.json compile error TS7006:
Parameter 'props' implicitly has an 'any' type.

types/mdx/react-tests.tsx:67:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:72:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:131:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:136:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:195:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:200:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:259:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:264:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:323:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:328:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:387:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:392:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:451:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:456:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any

types/mdx/react-tests.tsx:515:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
got:
  any

types/mdx/react-tests.tsx:520:13
TypeScript@local tsconfig.react.json expected type to be:
  DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>
got:
  any
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: redux-define

Package: redux-define

Branch error:

Project scope: tsconfig.json

Error: types/redux-define/redux-define-tests.ts:100:1
TypeScript@local expected type to be:
  "TEST_A"
got:
  unknown
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: babel__traverse

Package: babel__traverse

Branch error:

Project scope: tsconfig.json

Error: types/babel__traverse/babel__traverse-tests.ts:359:5
TypeScript@local compile error TS2684:
The 'this' context of type 'NodePath<ArrowFunctionExpression>' is not assignable to method's 'this' of type 'NodePath<CatchClause | LabeledStatement | WithStatement | Function | Loop>'.
  Types of property 'hasNode' are incompatible.
    Type '() => this is NodePath<ArrowFunctionExpression>' is not assignable to type '() => this is NodePath<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>>'.
      Type predicate 'this is NodePath<ArrowFunctionExpression>' is not assignable to 'this is NodePath<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>>'.
        Type 'NodePath<ArrowFunctionExpression>' is not assignable to type 'NodePath<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>>'.
          Types of property 'hasNode' are incompatible.
            Type '() => this is NodePath<ArrowFunctionExpression>' is not assignable to type '() => this is NodePath<Exclude<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>, null | undefined>>'.
              Type predicate 'this is NodePath<ArrowFunctionExpression>' is not assignable to 'this is NodePath<Exclude<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>, null | undefined>>'.
                Type 'NodePath<ArrowFunctionExpression>' is not assignable to type 'NodePath<Exclude<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>, null | undefined>>'.
                  Type 'Exclude<Exclude<CatchClause | LabeledStatement | WithStatement | Function | Loop, null | undefined>, null | undefined>' is not assignable to type 'ArrowFunctionExpression'.
                    Type 'CatchClause' is missing the following properties from type 'ArrowFunctionExpression': params, async, expression

types/babel__traverse/babel__traverse-tests.ts:381:7
TypeScript@local compile error TS2322:
Type 'NodePath<ExportNamedDeclaration>' is not assignable to type 'NodePath<ExportDefaultDeclaration | ExportNamedDeclaration>'.
  Types of property 'hasNode' are incompatible.
    Type '() => this is NodePath<ExportNamedDeclaration>' is not assignable to type '() => this is NodePath<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>>'.
      Type predicate 'this is NodePath<ExportNamedDeclaration>' is not assignable to 'this is NodePath<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>>'.
        Type 'NodePath<ExportNamedDeclaration>' is not assignable to type 'NodePath<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>>'.
          Types of property 'hasNode' are incompatible.
            Type '() => this is NodePath<ExportNamedDeclaration>' is not assignable to type '() => this is NodePath<Exclude<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>, null | undefined>>'.
              Type predicate 'this is NodePath<ExportNamedDeclaration>' is not assignable to 'this is NodePath<Exclude<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>, null | undefined>>'.
                Type 'NodePath<ExportNamedDeclaration>' is not assignable to type 'NodePath<Exclude<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>, null | undefined>>'.
                  Type 'Exclude<Exclude<ExportDefaultDeclaration | ExportNamedDeclaration, null | undefined>, null | undefined>' is not assignable to type 'ExportNamedDeclaration'.
                    Property 'specifiers' is missing in type 'ExportDefaultDeclaration' but required in type 'ExportNamedDeclaration'.

types/babel__traverse/babel__traverse-tests.ts:431:18
TypeScript@local compile error TS7053:
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'NodePathResult<Statement[]>'.
  Property '0' does not exist on type 'NodePathResult<Statement[]>'.

types/babel__traverse/babel__traverse-tests.ts:432:18
TypeScript@local compile error TS2345:
Argument of type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to parameter of type 'NodePath<Node>'.
  Types of property 'hasNode' are incompatible.
    Type '() => this is NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to type '() => this is NodePath<Exclude<Node, null | undefined>>'.
      Type predicate 'this is NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to 'this is NodePath<Exclude<Node, null | undefined>>'.
        Type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to type 'NodePath<Exclude<Node, null | undefined>>'.
          Type 'Exclude<Node, null | undefined>' is not assignable to type 'BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement'.
            Type 'AnyTypeAnnotation' is not assignable to type 'BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement'.
              Type 'AnyTypeAnnotation' is missing the following properties from type 'WithStatement': object, body

types/babel__traverse/babel__traverse-tests.ts:433:19
TypeScript@local compile error TS7053:
Element implicitly has an 'any' type because expression of type '0' can't be used to index type 'NodePathResult<Statement[]>'.
  Property '0' does not exist on type 'NodePathResult<Statement[]>'.

types/babel__traverse/babel__traverse-tests.ts:434:19
TypeScript@local compile error TS2345:
Argument of type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to parameter of type 'NodePath<Node>'.
  Types of property 'hasNode' are incompatible.
    Type '() => this is NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to type '() => this is NodePath<Exclude<Node, null | undefined>>'.
      Type predicate 'this is NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to 'this is NodePath<Exclude<Node, null | undefined>>'.
        Type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to type 'NodePath<Exclude<Node, null | undefined>>'.
          The types returned by 'getAncestry()' are incompatible between these types.
            Type '[NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>, ...NodePath<...>[]]' is not assignable to type '[NodePath<Exclude<Node, null | undefined>>, ...NodePath<Node>[]]'.
              'number' index signatures are incompatible.
                Type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement> | NodePath<...>' is not assignable to type 'NodePath<Exclude<Node, null | undefined>> | NodePath<Node>'.
                  Type 'NodePath<BlockStatement | BreakStatement | ClassDeclaration | ContinueStatement | DebuggerStatement | ... 41 more ... | WithStatement>' is not assignable to type 'NodePath<Exclude<Node, null | undefined>> | NodePath<Node>'.

types/babel__traverse/babel__traverse-tests.ts:27:9
TypeScript@local expected type to be:
  NodePath<SpreadElement | Expression | null>[]
got:
  NodePathResult<(SpreadElement | Expression | null)[]>

types/babel__traverse/babel__traverse-tests.ts:28:9
TypeScript@local expected type to be:
  NodePath<SpreadElement | Expression | null>
got:
  NodePath<ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BigIntLiteral | BinaryExpression | BindExpression | BooleanLiteral | CallExpression | ClassExpression | ConditionalExpression | DecimalLiteral | DoExpression | FunctionExpression | Identifier | Import | ImportExpression | JSXElement | JSXFragment | LogicalExpression | MemberExpression | MetaProperty | ModuleExpression | NewExpression | NullLiteral | NumericLiteral | ObjectExpression | OptionalCallExpression | OptionalMemberExpression | ParenthesizedExpression | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | RecordExpression | RegExpLiteral | SequenceExpression | SpreadElement | StringLiteral | Super | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | TaggedTemplateExpression | TemplateLiteral | ThisExpression | TopicReference | TupleExpression | TypeCastExpression | UnaryExpression | UpdateExpression | YieldExpression | null>
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: jquery.fancytree

Package: jquery.fancytree

Branch error:

Project scope: tsconfig.json

Error: types/jquery.fancytree/jquery.fancytree-tests.ts:309:22
TypeScript@local compile error TS2345:
Argument of type '{ title: string; }[]' is not assignable to parameter of type 'Exclude<SourceData, string>'.
  Type '{ title: string; }[]' is not assignable to type 'NodeData[] & not string'.
    Type '{ title: string; }[]' is not assignable to type 'not string'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: meaningful-string

Package: meaningful-string

Branch error:

Project scope: tsconfig.json

Error: types/meaningful-string/index.d.ts:68:41
TypeScript@local compile error TS2312:
An interface can only extend an object type or intersection of object types with statically known members.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: webappsec-credential-management

Package: webappsec-credential-management

Branch error:

Project scope: tsconfig.json

Error: types/webappsec-credential-management/webappsec-credential-management-tests.ts:299:35
TypeScript@local compile error TS2345:
Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/webappsec-credential-management/webappsec-credential-management-tests.ts:347:35
TypeScript@local compile error TS2345:
Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: kap-plugin

Package: kap-plugin

Branch error:

Project scope: tsconfig.json

Error: types/kap-plugin/kap-plugin-tests.ts:28:28
TypeScript@local compile error TS2769:
No overload matches this call.
  The last overload gave the following error.
    Argument of type '"unknown"' is not assignable to parameter of type 'never'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: karma-rollup-preprocessor

Package: karma-rollup-preprocessor

Branch error:

Project scope: tsconfig.json

Error: types/karma-rollup-preprocessor/index.d.ts:16:49
TypeScript@local compile error TS2312:
An interface can only extend an object type or intersection of object types with statically known members.

types/karma-rollup-preprocessor/karma-rollup-preprocessor-tests.ts:11:9
TypeScript@local expected type to be:
  { output: { format: "iife"; name: string; sourcemap: "inline"; }; }
got:
  { output: { format: string; name: string; sourcemap: string; }; }
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: ramda

Package: ramda

Branch error:

Project scope: tsconfig.json

Error: types/ramda/test/ifElse-tests.ts:9:5
TypeScript@local expected type to be:
  (a: unknown) => { count: number; } | Record<"count", number>
got:
  (a: unknown) => { count: number; }
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), here are more DT test results:

Branch only errors: ffi-napi

Package: ffi-napi

Branch error:

Project scope: tsconfig.json

Error: types/ffi-napi/ffi-napi-tests.ts:121:1
TypeScript@local expected type to be:
  ForeignFunction<void, []> | VariadicForeignFunction<CoerceType<"void">, []> | ((args_0: (err: any, value: void) => void) => void)
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>> | VariadicForeignFunction<CoerceType<"void">, CoerceTypes<[]>> | ((...args: [...never[], (err: any, value: void) => void]) => void)

types/ffi-napi/ffi-napi-tests.ts:123:1
TypeScript@local expected type to be:
  ForeignFunction<void, []>
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>>

types/ffi-napi/ffi-napi-tests.ts:125:1
TypeScript@local expected type to be:
  ForeignFunction<void, []>
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>>

types/ffi-napi/ffi-napi-tests.ts:127:1
TypeScript@local expected type to be:
  ForeignFunction<void, []>
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>>

types/ffi-napi/ffi-napi-tests.ts:129:1
TypeScript@local expected type to be:
  ForeignFunction<void, []>
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>>

types/ffi-napi/ffi-napi-tests.ts:131:1
TypeScript@local expected type to be:
  ForeignFunction<void, []>
got:
  ForeignFunction<void, UnderlyingTypes<CoerceTypes<[]>>>

types/ffi-napi/ffi-napi-tests.ts:133:1
TypeScript@local expected type to be:
  VariadicForeignFunction<CoerceType<"void">, []>
got:
  VariadicForeignFunction<CoerceType<"void">, CoerceTypes<[]>>

types/ffi-napi/ffi-napi-tests.ts:135:1
TypeScript@local expected type to be:
  (args_0: (err: any, value: void) => void) => void
got:
  (...args: [...never[], (err: any, value: void) => void]) => void
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: postcss-mixins

Package: postcss-mixins

Branch error:

Project scope: tsconfig.json

Error: types/postcss-mixins/postcss-mixins-tests.ts:23:9
TypeScript@local compile error TS2322:
Type '(_mixin: Container_<ChildNode>, color: string) => { top: number; "&:hover": { color: string; }; }' is not assignable to type 'Mixin'.
  Type '(_mixin: Container_<ChildNode>, color: string) => { top: number; "&:hover": { color: string; }; }' is not assignable to type 'MixinFn'.
    Type '{ top: number; "&:hover": { color: string; }; }' is not assignable to type 'void | MixinObj'.
      Type '{ top: number; "&:hover": { color: string; }; }' is not assignable to type 'MixinObj'.
        Property 'top' is incompatible with index signature.
          Type 'number' is not assignable to type 'Exclude<Object, Function>'.
            Type 'number' is not assignable to type 'not Function'.

types/postcss-mixins/postcss-mixins-tests.ts:37:13
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<Object, Function>'.
  Type 'number' is not assignable to type 'not Function'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: underscore

Package: underscore

Branch error:

Project scope: tsconfig.json

Error: types/underscore/underscore-tests.ts:2220:1
TypeScript@local expected type to be:
  (string | number | true)[]
got:
  Truthy<string | number | boolean | undefined>[]

types/underscore/underscore-tests.ts:2224:5
TypeScript@local expected type to be:
  (string | number | true | object | Function | StringRecord | (() => void))[]
got:
  (true | object | Function | StringRecord | (string & not "") | (number & not 0))[]

types/underscore/underscore-tests.ts:2225:5
TypeScript@local expected type to be:
  (string | number | true | object | Function | StringRecord | (() => void))[]
got:
  (true | object | Function | StringRecord | (string & not "") | (number & not 0))[]

types/underscore/underscore-tests.ts:2226:5
TypeScript@local expected type to be:
  ChainType<(string | number | true | object | Function | StringRecord | (() => void))[], string | number | true | object | Function | StringRecord | (() => void)>
got:
  ChainType<(true | object | Function | StringRecord | (string & not "") | (number & not 0))[], true | object | Function | StringRecord | (string & not "") | (number & not 0)>

types/underscore/underscore-tests.ts:2229:5
TypeScript@local expected type to be:
  (string | number | true | object | Function | StringRecord | (() => void))[]
got:
  (true | object | Function | StringRecord | (string & not "") | (number & not 0))[]

types/underscore/underscore-tests.ts:2230:5
TypeScript@local expected type to be:
  (string | number | true | object | Function | StringRecord | (() => void))[]
got:
  (true | object | Function | StringRecord | (string & not "") | (number & not 0))[]

types/underscore/underscore-tests.ts:2231:5
TypeScript@local expected type to be:
  ChainType<(string | number | true | object | Function | StringRecord | (() => void))[], string | number | true | object | Function | StringRecord | (() => void)>
got:
  ChainType<(true | object | Function | StringRecord | (string & not "") | (number & not 0))[], true | object | Function | StringRecord | (string & not "") | (number & not 0)>

types/underscore/underscore-tests.ts:3050:1
TypeScript@local expected type to be:
  ["one" | "two" | "three", number][]
got:
  [Extract<"one" | "three" | "two", string>, number][]

types/underscore/underscore-tests.ts:3059:5
TypeScript@local expected type to be:
  ["a" | "b" | "c", any][] || [keyof MixedTypeRecord, any][]
got:
  [Extract<keyof MixedTypeRecord, string>, any][]

types/underscore/underscore-tests.ts:3060:5
TypeScript@local expected type to be:
  ["a" | "b" | "c", any][] || [keyof MixedTypeRecord, any][]
got:
  [Extract<keyof MixedTypeRecord, string>, any][]

types/underscore/underscore-tests.ts:3061:5
TypeScript@local expected type to be:
  ChainType<["a" | "b" | "c", any][], ["a" | "b" | "c", any]> || ChainType<[keyof MixedTypeRecord, any][], [keyof MixedTypeRecord, any]>
got:
  ChainType<[Extract<keyof MixedTypeRecord, string>, any][], [Extract<keyof MixedTypeRecord, string>, any]>

types/underscore/underscore-tests.ts:3093:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3094:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3095:5
TypeScript@local expected type to be:
  ChainType<"a" | "b" | "c" | undefined, string> || ChainType<keyof MixedTypeRecord | undefined, string>
got:
  ChainType<Extract<keyof MixedTypeRecord, string> | undefined, string>

types/underscore/underscore-tests.ts:3108:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3109:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3110:5
TypeScript@local expected type to be:
  ChainType<"a" | "b" | "c" | undefined, string> || ChainType<keyof MixedTypeRecord | undefined, string>
got:
  ChainType<Extract<keyof MixedTypeRecord, string> | undefined, string>

types/underscore/underscore-tests.ts:3113:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3114:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3115:5
TypeScript@local expected type to be:
  ChainType<"a" | "b" | "c" | undefined, string> || ChainType<keyof MixedTypeRecord | undefined, string>
got:
  ChainType<Extract<keyof MixedTypeRecord, string> | undefined, string>

types/underscore/underscore-tests.ts:3118:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3119:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3120:5
TypeScript@local expected type to be:
  ChainType<"a" | "b" | "c" | undefined, string> || ChainType<keyof MixedTypeRecord | undefined, string>
got:
  ChainType<Extract<keyof MixedTypeRecord, string> | undefined, string>

types/underscore/underscore-tests.ts:3123:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3124:5
TypeScript@local expected type to be:
  "a" | "b" | "c" | undefined || keyof MixedTypeRecord | undefined
got:
  Extract<keyof MixedTypeRecord, string> | undefined

types/underscore/underscore-tests.ts:3125:5
TypeScript@local expected type to be:
  ChainType<"a" | "b" | "c" | undefined, string> || ChainType<keyof MixedTypeRecord | undefined, string>
got:
  ChainType<Extract<keyof MixedTypeRecord, string> | undefined, string>

types/underscore/underscore-tests.ts:3135:1
TypeScript@local expected type to be:
  Partial<{ name: string; age: number; userid: string; }>
got:
  Pick<{ name: string; age: number; userid: string; }, Extract<string, "age" | "name" | "userid">>

types/underscore/underscore-tests.ts:3173:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>

types/underscore/underscore-tests.ts:3174:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>

types/underscore/underscore-tests.ts:3175:5
TypeScript@local expected type to be:
  ChainType<Partial<MixedTypeRecord>, number | StringRecord | NonIntersectingRecord | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting>
got:
  ChainType<Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>, number | NonIntersecting>

types/underscore/underscore-tests.ts:3183:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>

types/underscore/underscore-tests.ts:3184:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>

types/underscore/underscore-tests.ts:3185:5
TypeScript@local expected type to be:
  ChainType<Partial<MixedTypeRecord>, number | StringRecord | NonIntersectingRecord | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting>
got:
  ChainType<Pick<MixedTypeRecord, Extract<string, keyof MixedTypeRecord>>, number | NonIntersecting>

types/underscore/underscore-tests.ts:3215:1
TypeScript@local expected type to be:
  Partial<{ name: string; age: number; userid: string; }>
got:
  Pick<{ name: string; age: number; userid: string; }, never>

types/underscore/underscore-tests.ts:3253:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, never>

types/underscore/underscore-tests.ts:3254:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, never>

types/underscore/underscore-tests.ts:3255:5
TypeScript@local expected type to be:
  ChainType<Partial<MixedTypeRecord>, number | StringRecord | NonIntersectingRecord | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting>
got:
  ChainType<Pick<MixedTypeRecord, never>, unknown>

types/underscore/underscore-tests.ts:3263:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, never>

types/underscore/underscore-tests.ts:3264:5
TypeScript@local expected type to be:
  Partial<MixedTypeRecord>
got:
  Pick<MixedTypeRecord, never>

types/underscore/underscore-tests.ts:3265:5
TypeScript@local expected type to be:
  ChainType<Partial<MixedTypeRecord>, number | StringRecord | NonIntersectingRecord | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting | undefined> || ChainType<Partial<MixedTypeRecord>, number | NonIntersecting>
got:
  ChainType<Pick<MixedTypeRecord, never>, unknown>

types/underscore/underscore-tests.ts:3753:1
TypeScript@local expected type to be:
  [("one" | "two")[], number[]]
got:
  [Extract<"one" | "two", string>[], number[]]

types/underscore/underscore-tests.ts:3759:1
TypeScript@local expected type to be:
  [("one" | "two")[], number[]]
got:
  [Extract<"one" | "two", string>[], number[]]

types/underscore/underscore-tests.ts:3765:1
TypeScript@local expected type to be:
  ["one" | "two" | "three", string | number | number[]] | undefined
got:
  [Extract<"one" | "three" | "two", string>, string | number | number[]] | undefined

types/underscore/underscore-tests.ts:3815:1
TypeScript@local expected type to be:
  [number[], number[]]
got:
  [Truthy<number | undefined>[], Truthy<number | undefined>[]]
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), here are more DT test results:

Branch only errors: mpv-script

Package: mpv-script

Branch error:

Project scope: tsconfig.json

Error: types/mpv-script/mpv-script-tests.ts:263:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/mpv-script/mpv-script-tests.ts:265:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/mpv-script/mpv-script-tests.ts:11:1
TypeScript@local expected type to be:
  string
got:
  null | undefined

types/mpv-script/mpv-script-tests.ts:13:1
TypeScript@local expected type to be:
  string | 123
got:
  123 | null

types/mpv-script/mpv-script-tests.ts:20:1
TypeScript@local expected type to be:
  string
got:
  null | undefined

types/mpv-script/mpv-script-tests.ts:26:1
TypeScript@local expected type to be:
  string | 123
got:
  123 | null

types/mpv-script/mpv-script-tests.ts:32:1
TypeScript@local expected type to be:
  string
got:
  null | undefined

types/mpv-script/mpv-script-tests.ts:90:5
TypeScript@local expected type to be:
  string
got:
  null | undefined

types/mpv-script/mpv-script-tests.ts:162:1
TypeScript@local expected type to be:
  string
got:
  GetStringPropertyReturnType<"playlist", false>

types/mpv-script/mpv-script-tests.ts:165:1
TypeScript@local expected type to be:
  "yes" | "no" | undefined
got:
  GetStringPropertyReturnType<"ao-mute", true>

types/mpv-script/mpv-script-tests.ts:168:1
TypeScript@local expected type to be:
  `${number}` | undefined
got:
  GetStringPropertyReturnType<"time-pos", true>

types/mpv-script/mpv-script-tests.ts:171:1
TypeScript@local expected type to be:
  string | undefined
got:
  GetStringPropertyReturnType<"filename", true>

types/mpv-script/mpv-script-tests.ts:174:1
TypeScript@local expected type to be:
  "yes" | "no"
got:
  GetStringPropertyReturnType<"fullscreen", true>

types/mpv-script/mpv-script-tests.ts:177:1
TypeScript@local expected type to be:
  string
got:
  GetStringPropertyReturnType<"audio-device", true>

types/mpv-script/mpv-script-tests.ts:180:1
TypeScript@local expected type to be:
  `${number}`
got:
  GetStringPropertyReturnType<"playlist-pos", true>

types/mpv-script/mpv-script-tests.ts:183:1
TypeScript@local expected type to be:
  string | undefined
got:
  GetStringPropertyReturnType<"foo", true>

types/mpv-script/mpv-script-tests.ts:186:1
TypeScript@local expected type to be:
  string
got:
  GetStringPropertyReturnType<"stream-open-filename", true>

types/mpv-script/mpv-script-tests.ts:188:1
TypeScript@local expected type to be:
  string | 123
got:
  123 | GetStringPropertyReturnType<"foo", false>

types/mpv-script/mpv-script-tests.ts:191:1
TypeScript@local expected type to be:
  string
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:194:1
TypeScript@local expected type to be:
  "yes" | "no" | undefined
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:197:1
TypeScript@local expected type to be:
  `${number}:${number}:${number}` | undefined
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:200:1
TypeScript@local expected type to be:
  string | undefined
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:203:1
TypeScript@local expected type to be:
  "yes" | "no"
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:206:1
TypeScript@local expected type to be:
  string
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:209:1
TypeScript@local expected type to be:
  `${number}`
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:212:1
TypeScript@local expected type to be:
  string | undefined
got:
  string | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:214:1
TypeScript@local expected type to be:
  string | 123
got:
  string | 123 | (string & {}) | (`${number}` & {}) | undefined

types/mpv-script/mpv-script-tests.ts:217:1
TypeScript@local expected type to be:
  boolean
got:
  NonNullable<boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & true) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & false) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & true) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & false) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & true) | (AudioParam & false) | (AudioParam & true) | (DemuxerCacheState & false) | (DemuxerCacheState & true) | (OSDDimensions & false) | (OSDDimensions & true) | (OptionInfo<unknown> & false) | (OptionInfo<unknown> & true) | (Record<string, "no" | "status" | LogLevel> & false) | (Record<string, "no" | "status" | LogLevel> & true) | (Record<string, string | undefined> & false) | (Record<string, string | undefined> & true) | (Record<"title" | (string & {}), string | undefined> & false) | (Record<"title" | (string & {}), string | undefined> & true) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & false) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & true) | (TabletPosInfo & false) | (TabletPosInfo & true) | (TrackInfo & false) | (TrackInfo & true) | (VideoFrameInfo & false) | (VideoFrameInfo & true) | (VideoParam & false) | (VideoParam & true) | ({ l: number; r: number; t: number; b: number; } & false) | ({ l: number; r: number; t: number; b: number; } & true) | ({ w: number; h: number; } & false) | ({ w: number; h: number; } & true) | ({ x: number; y: number; hover: boolean; } & false) | ({ x: number; y: number; hover: boolean; } & true) | ({ redraw: VOPass[]; fresh: VOPass[]; } & false) | ({ redraw: VOPass[]; fresh: VOPass[]; } & true) | ({ text: string | undefined; "text-primary": string | undefined; } & false) | ({ text: string | undefined; "text-primary": string | undefined; } & true) | (SubprocessResultWithStdout & SubprocessResultWithStderr & false) | (SubprocessResultWithStdout & SubprocessResultWithStderr & true) | undefined> & {}

types/mpv-script/mpv-script-tests.ts:220:1
TypeScript@local expected type to be:
  boolean
got:
  boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & true) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & false) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & true) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & false) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & true) | (AudioParam & false) | (AudioParam & true) | (DemuxerCacheState & false) | (DemuxerCacheState & true) | (OSDDimensions & false) | (OSDDimensions & true) | (OptionInfo<unknown> & false) | (OptionInfo<unknown> & true) | (Record<string, "no" | "status" | LogLevel> & false) | (Record<string, "no" | "status" | LogLevel> & true) | (Record<string, string | undefined> & false) | (Record<string, string | undefined> & true) | (Record<"title" | (string & {}), string | undefined> & false) | (Record<"title" | (string & {}), string | undefined> & true) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & false) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & true) | (TabletPosInfo & false) | (TabletPosInfo & true) | (TrackInfo & false) | (TrackInfo & true) | (VideoFrameInfo & false) | (VideoFrameInfo & true) | (VideoParam & false) | (VideoParam & true) | ({ l: number; r: number; t: number; b: number; } & false) | ({ l: number; r: number; t: number; b: number; } & true) | ({ w: number; h: number; } & false) | ({ w: number; h: number; } & true) | ({ x: number; y: number; hover: boolean; } & false) | ({ x: number; y: number; hover: boolean; } & true) | ({ redraw: VOPass[]; fresh: VOPass[]; } & false) | ({ redraw: VOPass[]; fresh: VOPass[]; } & true) | ({ text: string | undefined; "text-primary": string | undefined; } & false) | ({ text: string | undefined; "text-primary": string | undefined; } & true) | (SubprocessResultWithStdout & SubprocessResultWithStderr & false) | (SubprocessResultWithStdout & SubprocessResultWithStderr & true) | undefined

types/mpv-script/mpv-script-tests.ts:223:1
TypeScript@local expected type to be:
  boolean | undefined
got:
  boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & true) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & false) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & true) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & false) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & true) | (AudioParam & false) | (AudioParam & true) | (DemuxerCacheState & false) | (DemuxerCacheState & true) | (OSDDimensions & false) | (OSDDimensions & true) | (OptionInfo<unknown> & false) | (OptionInfo<unknown> & true) | (Record<string, "no" | "status" | LogLevel> & false) | (Record<string, "no" | "status" | LogLevel> & true) | (Record<string, string | undefined> & false) | (Record<string, string | undefined> & true) | (Record<"title" | (string & {}), string | undefined> & false) | (Record<"title" | (string & {}), string | undefined> & true) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & false) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & true) | (TabletPosInfo & false) | (TabletPosInfo & true) | (TrackInfo & false) | (TrackInfo & true) | (VideoFrameInfo & false) | (VideoFrameInfo & true) | (VideoParam & false) | (VideoParam & true) | ({ l: number; r: number; t: number; b: number; } & false) | ({ l: number; r: number; t: number; b: number; } & true) | ({ w: number; h: number; } & false) | ({ w: number; h: number; } & true) | ({ x: number; y: number; hover: boolean; } & false) | ({ x: number; y: number; hover: boolean; } & true) | ({ redraw: VOPass[]; fresh: VOPass[]; } & false) | ({ redraw: VOPass[]; fresh: VOPass[]; } & true) | ({ text: string | undefined; "text-primary": string | undefined; } & false) | ({ text: string | undefined; "text-primary": string | undefined; } & true) | (SubprocessResultWithStdout & SubprocessResultWithStderr & false) | (SubprocessResultWithStdout & SubprocessResultWithStderr & true) | undefined

types/mpv-script/mpv-script-tests.ts:226:1
TypeScript@local expected type to be:
  boolean | undefined
got:
  boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & true) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & false) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & true) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & false) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & true) | (AudioParam & false) | (AudioParam & true) | (DemuxerCacheState & false) | (DemuxerCacheState & true) | (OSDDimensions & false) | (OSDDimensions & true) | (OptionInfo<unknown> & false) | (OptionInfo<unknown> & true) | (Record<string, "no" | "status" | LogLevel> & false) | (Record<string, "no" | "status" | LogLevel> & true) | (Record<string, string | undefined> & false) | (Record<string, string | undefined> & true) | (Record<"title" | (string & {}), string | undefined> & false) | (Record<"title" | (string & {}), string | undefined> & true) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & false) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & true) | (TabletPosInfo & false) | (TabletPosInfo & true) | (TrackInfo & false) | (TrackInfo & true) | (VideoFrameInfo & false) | (VideoFrameInfo & true) | (VideoParam & false) | (VideoParam & true) | ({ l: number; r: number; t: number; b: number; } & false) | ({ l: number; r: number; t: number; b: number; } & true) | ({ w: number; h: number; } & false) | ({ w: number; h: number; } & true) | ({ x: number; y: number; hover: boolean; } & false) | ({ x: number; y: number; hover: boolean; } & true) | ({ redraw: VOPass[]; fresh: VOPass[]; } & false) | ({ redraw: VOPass[]; fresh: VOPass[]; } & true) | ({ text: string | undefined; "text-primary": string | undefined; } & false) | ({ text: string | undefined; "text-primary": string | undefined; } & true) | (SubprocessResultWithStdout & SubprocessResultWithStderr & false) | (SubprocessResultWithStdout & SubprocessResultWithStderr & true) | undefined

types/mpv-script/mpv-script-tests.ts:228:1
TypeScript@local expected type to be:
  boolean | "yes or no"
got:
  "yes or no" | (NonNullable<boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & true) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & false) | ((".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[] & true) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & false) | (("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[] & true) | (AudioParam & false) | (AudioParam & true) | (DemuxerCacheState & false) | (DemuxerCacheState & true) | (OSDDimensions & false) | (OSDDimensions & true) | (OptionInfo<unknown> & false) | (OptionInfo<unknown> & true) | (Record<string, "no" | "status" | LogLevel> & false) | (Record<string, "no" | "status" | LogLevel> & true) | (Record<string, string | undefined> & false) | (Record<string, string | undefined> & true) | (Record<"title" | (string & {}), string | undefined> & false) | (Record<"title" | (string & {}), string | undefined> & true) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & false) | (Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined> & true) | (TabletPosInfo & false) | (TabletPosInfo & true) | (TrackInfo & false) | (TrackInfo & true) | (VideoFrameInfo & false) | (VideoFrameInfo & true) | (VideoParam & false) | (VideoParam & true) | ({ l: number; r: number; t: number; b: number; } & false) | ({ l: number; r: number; t: number; b: number; } & true) | ({ w: number; h: number; } & false) | ({ w: number; h: number; } & true) | ({ x: number; y: number; hover: boolean; } & false) | ({ x: number; y: number; hover: boolean; } & true) | ({ redraw: VOPass[]; fresh: VOPass[]; } & false) | ({ redraw: VOPass[]; fresh: VOPass[]; } & true) | ({ text: string | undefined; "text-primary": string | undefined; } & false) | ({ text: string | undefined; "text-primary": string | undefined; } & true) | (SubprocessResultWithStdout & SubprocessResultWithStderr & false) | (SubprocessResultWithStdout & SubprocessResultWithStderr & true) | undefined> & {})

types/mpv-script/mpv-script-tests.ts:232:1
TypeScript@local expected type to be:
  number
got:
  number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined

types/mpv-script/mpv-script-tests.ts:235:1
TypeScript@local expected type to be:
  number | undefined
got:
  number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined

types/mpv-script/mpv-script-tests.ts:238:1
TypeScript@local expected type to be:
  number | undefined
got:
  number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined

types/mpv-script/mpv-script-tests.ts:240:1
TypeScript@local expected type to be:
  number | "foo"
got:
  "foo" | NonNullable<number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined>

types/mpv-script/mpv-script-tests.ts:243:1
TypeScript@local expected type to be:
  number | undefined
got:
  number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined

types/mpv-script/mpv-script-tests.ts:245:1
TypeScript@local expected type to be:
  number
got:
  NonNullable<number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined>

types/mpv-script/mpv-script-tests.ts:247:1
TypeScript@local expected type to be:
  number | 'bar'
got:
  "bar" | NonNullable<number | Extract<string[], number> | Extract<number[], number> | Extract<mp.ChapterListItem[], number> | Extract<mp.CommandInfo[], number> | Extract<mp.InputBindingInfo[], number> | Extract<mp.MenuItem[], number> | Extract<mp.PlaylistItem[], number> | Extract<mp.TrackInfo[], number> | Extract<mp.VOPass[], number> | Extract<{ id: number; x: number; y: number; }[], number> | Extract<{ name: "auto" | (string & {}); description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ codec: string; driver: string; description: string; }[], number> | Extract<{ name: string; options: { key: string; value: string; }[]; }[], number> | Extract<("auto" | "auto-copy" | "no" | (string & {}))[], number> | Extract<("auto" | "d3d11" | "opengl" | "vulkan")[], number> | Extract<("archive" | "audio" | "image" | "playlist" | "video")[], number> | Extract<(".folder" | "Album" | "AlbumArt" | "AlbumArtSmall" | "Folder" | "cover" | "front" | "thumb" | (string & {}))[], number> | Extract<("android" | "angle" | "auto" | "d3d11" | "displayvk" | "drm" | "dxinterop" | "macvk" | "wayland" | "waylandvk" | "win" | "winvk" | "x11" | "x11egl" | "x11vk")[], number> | Extract<mp.OSDDimensions, number> | Extract<mp.OptionInfo<unknown>, number> | Extract<Record<string, "no" | "status" | mp.LogLevel>, number> | Extract<Record<string, string | undefined>, number> | Extract<Record<"PTS" | "avg_pq_y" | "chroma_offset_x" | "chroma_offset_y" | "max_cll" | "max_fall" | "max_luma" | "max_pq_y" | "min_luma" | "scene_avg" | "scene_max_b" | "scene_max_g" | "scene_max_r", string | undefined>, number> | Extract<mp.TabletPosInfo, number> | Extract<{ l: number; r: number; t: number; b: number; }, number> | Extract<{ w: number; h: number; }, number> | Extract<{ x: number; y: number; hover: boolean; }, number> | Extract<{ redraw: mp.VOPass[]; fresh: mp.VOPass[]; }, number> | (EditionListItem[] & number) | (AudioParam & number) | (DemuxerCacheState & number) | (Record<string, string | undefined> & number) | (Record<"title" | (string & {}), string | undefined> & number) | (TrackInfo & number) | (VideoFrameInfo & number) | (VideoParam & number) | ({ text: string | undefined; "text-primary": string | undefined; } & number) | (SubprocessResultWithStdout & SubprocessResultWithStderr & number) | undefined>

types/mpv-script/mpv-script-tests.ts:251:1
TypeScript@local expected type to be:
  ChapterListItem[]
got:
  unknown

types/mpv-script/mpv-script-tests.ts:254:1
TypeScript@local expected type to be:
  SubprocessResultWithStd | undefined
got:
  unknown

types/mpv-script/mpv-script-tests.ts:256:1
TypeScript@local expected type to be:
  -1 | (SubprocessResultWithStdout & SubprocessResultWithStderr)
got:
  unknown

types/mpv-script/mpv-script-tests.ts:261:1
TypeScript@local expected type to be:
  {} | -1
got:
  unknown

types/mpv-script/mpv-script-tests.ts:272:5
TypeScript@local expected type to be:
  ChapterListItem[]
got:
  unknown

types/mpv-script/mpv-script-tests.ts:276:5
TypeScript@local expected type to be:
  boolean | undefined
got:
  boolean | (string[] & false) | (string[] & true) | (number[] & false) | (number[] & true) | (ChapterListItem[] & false) | (ChapterListItem[] & true) | (CommandInfo[] & false) | (CommandInfo[] & true) | (EditionListItem[] & false) | (EditionListItem[] & true) | (InputBindingInfo[] & false) | (InputBindingInfo[] & true) | (MenuItem[] & false) | (MenuItem[] & true) | (PlaylistItem[] & false) | (PlaylistItem[] & true) | (TrackInfo[] & false) | (TrackInfo[] & true) | (VOPass[] & false) | (VOPass[] & true) | ({ id: number; x: number; y: number; }[] & false) | ({ id: number; x: number; y: number; }[] & true) | ({ name: "auto" | (string & {}); description: string; }[] & false) | ({ name: "auto" | (string & {}); description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ codec: string; driver: string; description: string; }[] & false) | ({ codec: string; driver: string; description: string; }[] & true) | ({ name: string; options: { key: string; value: string; }[]; }[] & false) | ({ name: string; options: { key: string; value: string; }[]; }[] & true) | (("auto" | "auto-copy" | "no" | (string & {}))[] & false) | (("auto" | "auto-copy" | "no" | (string & {}))[] & true) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & false) | (("auto" | "d3d11" | "opengl" | "vulkan")[] & true) | (("archive" | "audio" | "image" | "playlist" | "video")[] & false) | (("archive" | "audio" | "image" | "playlist" | "video")[] & tru
[... truncated ...]

This package report was truncated; see the log for full output.

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), here are more DT test results:

Branch only errors: clerk.io

Package: clerk.io

Branch error:

Project scope: tsconfig.json

Error: types/clerk.io/clerk.io-tests.ts:11:18
TypeScript@local compile error TS2769:
No overload matches this call.
  The last overload gave the following error.
    Argument of type '"call"' is not assignable to parameter of type '"content"'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react-blessed

Package: react-blessed

Branch error:

Project scope: tsconfig.json

Error: types/react-blessed/react-blessed-tests.tsx:15:9
TypeScript@local compile error TS2353:
Object literal may only specify known properties, and 'border' does not exist in type '(false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps)'.

types/react-blessed/react-blessed-tests.tsx:50:26
TypeScript@local compile error TS2322:
Type '{ label: string; class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; width: string; height: string; draggable: boole...' is not assignable to type 'DetailedBlessedProps<BoxElement>'.
  Property 'label' does not exist on type 'DetailedBlessedProps<BoxElement>'.

types/react-blessed/react-blessed-tests.tsx:63:26
TypeScript@local compile error TS2322:
Type '{ label: string; class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; top: string; width: string; children: number; }' is not assignable to type 'DetailedBlessedProps<BoxElement>'.
  Property 'label' does not exist on type 'DetailedBlessedProps<BoxElement>'.

types/react-blessed/react-blessed-tests.tsx:75:57
TypeScript@local compile error TS2322:
Type '{ class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; top: string; left: string; width: string; }' is not assignable to type 'DetailedBlessedProps<BoxElement>'.
  Property 'top' does not exist on type 'DetailedBlessedProps<BoxElement>'.

types/react-blessed/react-blessed-tests.tsx:84:29
TypeScript@local compile error TS2322:
Type '{ label: string; class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; left: string; width: string; height: string; }' is not assignable to type 'DetailedBlessedProps<BoxElement>'.
  Property 'label' does not exist on type 'DetailedBlessedProps<BoxElement>'.

types/react-blessed/react-blessed-tests.tsx:120:17
TypeScript@local compile error TS2322:
Type '{ label: string; onComplete: () => void; onKeypress: (key: any, event: IKeyEventArg) => void; class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & ... & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; ... 5 more ...; style: ......' is not assignable to type 'DetailedBlessedProps<ProgressBarElement>'.
  Property 'label' does not exist on type 'DetailedBlessedProps<ProgressBarElement>'.

types/react-blessed/react-blessed-tests.tsx:148:26
TypeScript@local compile error TS2322:
Type '{ label: string; class: false | (false | (Partial<Omit<KnownKeys<ElementOptions>, "children" | "style">> & { children?: ReactNode; style?: ElementStyle | undefined; } & EventProps) | null | undefined)[] | (Partial<...> & ... 1 more ... & EventProps) | null | undefined; ... 4 more ...; children: string; }' is not assignable to type 'DetailedBlessedProps<BoxElement>'.
  Property 'label' does not exist on type 'DetailedBlessedProps<BoxElement>'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: webvtt-parser

Package: webvtt-parser

Branch error:

Project scope: tsconfig.json

Error: types/webvtt-parser/webvtt-parser-tests.ts:16:5
TypeScript@local expected type to be:
  "v" | "lang" | "c" | "i" | "b" | "u" | "ruby"
got:
  "ruby" | Exclude<TreeNodeObjectTagName, "ruby">

types/webvtt-parser/webvtt-parser-tests.ts:31:13
TypeScript@local expected type to be:
  "v" | "lang" | "c" | "i" | "b" | "u" | "ruby" | "rt"
got:
  "ruby" | Exclude<TreeNodeObjectTagNameWithRt, "ruby">

types/webvtt-parser/webvtt-parser-tests.ts:40:13
TypeScript@local expected type to be:
  "v" | "lang" | "c" | "i" | "b" | "u" | "ruby"
got:
  "ruby" | Exclude<TreeNodeObjectTagName, "ruby">
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: hapi__joi

Package: hapi__joi

Branch error:

Project scope: tsconfig.json

Error: types/hapi__joi/index.d.ts:1779:33
TypeScript@local compile error TS2312:
An interface can only extend an object type or intersection of object types with statically known members.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: meteor-dburles-collection-helpers

Package: meteor-dburles-collection-helpers

Branch error:

Project scope: tsconfig.json

Error: types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:53:5
TypeScript@local compile error TS2322:
Type '() => (Author & RemoveHelperBrands<Required<Pick<Author, PropertyNamesMatching<Required<Author>, Func>>> & Partial<...>>) | undefined' is not assignable to type 'Exclude<() => Author | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => (Author & RemoveHelperBrands<Required<Pick<Author, PropertyNamesMatching<Required<Author>, Func>>> & Partial<...>>) | undefined' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:56:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:58:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:60:5
TypeScript@local compile error TS2322:
Type '() => (Author & RemoveHelperBrands<Required<Pick<Author, PropertyNamesMatching<Required<Author>, Func>>> & Partial<...>>) | undefined' is not assignable to type 'Exclude<() => Author | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => (Author & RemoveHelperBrands<Required<Pick<Author, PropertyNamesMatching<Required<Author>, Func>>> & Partial<...>>) | undefined' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:69:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<() => string, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:75:5
TypeScript@local compile error TS2322:
Type '() => Cursor<Book, Book>' is not assignable to type 'Exclude<() => Cursor<Book, Book>, HelperBrand | OptionalHelperBrand>'.
  Type '() => Cursor<Book, Book>' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:107:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:109:5
TypeScript@local compile error TS2322:
Type '() => void' is not assignable to type 'Exclude<() => void, HelperBrand | OptionalHelperBrand>'.
  Type '() => void' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:115:5
TypeScript@local compile error TS2322:
Type '() => void' is not assignable to type 'Exclude<() => void, HelperBrand | OptionalHelperBrand>'.
  Type '() => void' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:118:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:166:5
TypeScript@local compile error TS2322:
Type '(x: number) => number' is not assignable to type 'Exclude<(arg: number) => number, HelperBrand | OptionalHelperBrand>'.
  Type '(x: number) => number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:185:5
TypeScript@local compile error TS2322:
Type '(x: number) => number' is not assignable to type 'Exclude<(arg: number) => number, HelperBrand | OptionalHelperBrand>'.
  Type '(x: number) => number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:244:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:245:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:246:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:250:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:251:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:254:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:256:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:257:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:261:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:262:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:265:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:267:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:268:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:272:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:273:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:276:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:278:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:279:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:283:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:284:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:287:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:289:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:290:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:291:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:294:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:295:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:298:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:300:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:301:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:302:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:306:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:309:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:311:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:312:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:313:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:316:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:317:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:320:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:322:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:323:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:324:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:327:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:328:5
TypeScript@local compile error TS2322:
Type '() => string' is not assignable to type 'Exclude<Helper<string | (() => string)>, HelperBrand | OptionalHelperBrand>'.
  Type '() => string' is not assignable to type '(() => string) & HelperFlavor & not HelperBrand & not OptionalHelperBrand'.
    Type '() => string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:331:1
TypeScript@local compile error TS2578:
Unused '@ts-expect-error' directive.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:333:5
TypeScript@local compile error TS2322:
Type '() => boolean' is not assignable to type 'Exclude<(() => boolean) | ((arg: number) => boolean), HelperBrand | OptionalHelperBrand>'.
  Type '() => boolean' is not assignable to type '(() => boolean) & not HelperBrand & not OptionalHelperBrand'.
    Type '() => boolean' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:334:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(string & HelperFlavor) | (number & HelperFlavor), HelperBrand | OptionalHelperBrand>'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:335:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<number & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:339:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<string & HelperFlavor, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:393:5
TypeScript@local compile error TS2322:
Type '() => number' is not assignable to type 'Exclude<((() => number) & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:399:5
TypeScript@local compile error TS2322:
Type '() => void' is not assignable to type 'Exclude<((() => void) & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => void' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:405:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(number & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:409:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<(string & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:413:5
TypeScript@local compile error TS2322:
Type '() => number' is not assignable to type 'Exclude<((() => number) & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:416:5
TypeScript@local compile error TS2322:
Type '() => void' is not assignable to type 'Exclude<((() => void) & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type '() => void' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:419:5
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'Exclude<(number & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type 'number' is not assignable to type 'not HelperBrand'.

types/meteor-dburles-collection-helpers/meteor-dburles-collection-helpers-tests.ts:420:5
TypeScript@local compile error TS2322:
Type 'string' is not assignable to type 'Exclude<(string & HelperFlavor & OptionalHelperFlavor) | undefined, HelperBrand | OptionalHelperBrand>'.
  Type 'string' is not assignable to type 'not HelperBrand'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: styletron-react

Package: styletron-react

Branch error:

Project scope: tsconfig.json

Error: types/styletron-react/styletron-react-tests.tsx:50:22
TypeScript@local compile error TS2322:
Type '{ isDisabled: true; }' is not assignable to type 'IntrinsicAttributes & Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", { className: string; }>> & StyletronComponentInjectedProps<Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", ...>>>'.
  Property 'isDisabled' does not exist on type 'IntrinsicAttributes & Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", { className: string; }>> & StyletronComponentInjectedProps<Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", ...>>>'.

types/styletron-react/styletron-react-tests.tsx:56:55
TypeScript@local compile error TS2322:
Type '{ $fraction: number; isDisabled: true; }' is not assignable to type 'IntrinsicAttributes & Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", { className: string; }>> & DynamicStyledProps & StyletronComponentInjectedProps<...>'.
  Property 'isDisabled' does not exist on type 'IntrinsicAttributes & Pick<{ isDisabled: boolean; }, Exclude<"isDisabled", { className: string; }>> & DynamicStyledProps & StyletronComponentInjectedProps<...>'.

types/styletron-react/styletron-react-tests.tsx:129:63
TypeScript@local compile error TS2322:
Type '{ disabled: boolean; }' is not assignable to type 'IntrinsicAttributes & Pick<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Exclude<...>> & StyletronComponentInjectedProps<...>'.
  Property 'disabled' does not exist on type 'IntrinsicAttributes & Pick<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Exclude<...>> & StyletronComponentInjectedProps<...>'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: frida-gum

Package: frida-gum

Branch error:

Project scope: tsconfig.json

Error: types/frida-gum/index.d.ts:2028:13
TypeScript@local compile error TS2344:
Type 'Extract<GetValue<NativeCallbackArgumentTypeMap, NativeCallbackArgumentValue, NativeCallbackArgumentType, ArgTypes>, ...>' does not satisfy the constraint 'NativeCallbackArgumentValue[] | []'.
  Type 'Extract<GetValue<NativeCallbackArgumentTypeMap, NativeCallbackArgumentValue, NativeCallbackArgumentType, ArgTypes>, ...>' is not assignable to type 'NativeCallbackArgumentValue[]'.

types/frida-gum/frida-gum-tests.ts:132:15
TypeScript@local compile error TS2554:
Expected 1 arguments, but got 2.

types/frida-gum/frida-gum-tests.ts:134:8
TypeScript@local compile error TS2554:
Expected 1 arguments, but got 2.

types/frida-gum/frida-gum-tests.ts:139:9
TypeScript@local compile error TS2554:
Expected 1 arguments, but got 4.

types/frida-gum/frida-gum-tests.ts:162:27
TypeScript@local compile error TS2554:
Expected 1 arguments, but got 2.

types/frida-gum/frida-gum-tests.ts:130:1
TypeScript@local expected type to be:
  NativeFunction<[number, number], [number | Int64, [number, [NativePointerValue, NativePointerValue]]]>
got:
  NativeFunction<[number, number], [unknown]>

types/frida-gum/frida-gum-tests.ts:137:1
TypeScript@local expected type to be:
  NativeFunction<void, [number, ...NativePointerValue[]]>
got:
  NativeFunction<void, [unknown]>

types/frida-gum/frida-gum-tests.ts:142:1
TypeScript@local expected type to be:
  NativeFunction<number, [NativePointerValue]>
got:
  NativeFunction<number, [unknown]>

types/frida-gum/frida-gum-tests.ts:157:1
TypeScript@local expected type to be:
  SystemFunction<number, [NativePointerValue, number]>
got:
  SystemFunction<number, [unknown]>
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: object.entries

Package: object.entries

Branch error:

Project scope: tsconfig.json

Error: types/object.entries/object.entries-tests.ts:8:1
TypeScript@local expected type to be:
  ['foo' | 'bar', string | number][]
got:
  [Exclude<"bar" | "foo", "__proto__">, string | number][]

types/object.entries/object.entries-tests.ts:16:1
TypeScript@local expected type to be:
  ['foo' | 'bar', string | boolean][]
got:
  [Exclude<"__proto__" | "bar" | "foo", "__proto__">, string | boolean][]
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: oojs

Package: oojs

Branch error:

Project scope: tsconfig.json

Error: types/oojs/oojs-tests.ts:104:9
TypeScript@local expected type to be:
  number
got:
  Extract<number | { foo: { bar: { baz: number; }; }; fooBar: number; } | { bar: { baz: number; }; } | { baz: number; }, NonPlainObject>

types/oojs/oojs-tests.ts:111:13
TypeScript@local expected type to be:
  string | number | HTMLAnchorElement | (() => string) | { clone: () => string; }
got:
  Extract<string | number | string[] | HTMLAnchorElement | { foo: { bar: { baz: number; }; }; bar: string[]; baz: { clone: () => string; }; fooBar: HTMLAnchorElement; fooBaz: () => string; } | { bar: { baz: number; }; } | { baz: number; } | { clone: () => string; } | (() => string), NonPlainObject>

types/oojs/oojs-tests.ts:128:13
TypeScript@local expected type to be:
  number | undefined
got:
  Extract<number | (number | undefined)[] | undefined, NonPlainObject>

types/oojs/oojs-tests.ts:154:1
TypeScript@local expected type to be:
  number[]
got:
  Extract<number | undefined, string | number | string[]>[]
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node/v25

Package: node/v25

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v25/node-tests/globals-dom.ts:40:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'Buffer<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Buffer<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v25/node-tests/globals-dom.ts:41:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'BigInt64Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'BigInt64Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v25/node-tests/globals-dom.ts:40:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  Buffer || Buffer<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer

types/node/v25/node-tests/globals-dom.ts:41:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  BigInt64Array || BigInt64Array<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node/v22

Package: node/v22

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v22/test/globals-dom.ts:40:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'Buffer<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Buffer<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v22/test/globals-dom.ts:41:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'BigInt64Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'BigInt64Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v22/test/globals-dom.ts:40:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  Buffer || Buffer<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer

types/node/v22/test/globals-dom.ts:41:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  BigInt64Array || BigInt64Array<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), here are more DT test results:

Branch only errors: node/v24

Package: node/v24

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v24/test/globals-dom.ts:40:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'Buffer<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Buffer<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v24/test/globals-dom.ts:41:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'BigInt64Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'BigInt64Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/v24/test/globals-dom.ts:40:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  Buffer || Buffer<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer

types/node/v24/test/globals-dom.ts:41:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  BigInt64Array || BigInt64Array<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node

Package: node

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/node-tests/globals-dom.ts:40:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'Buffer<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Buffer<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/node-tests/globals-dom.ts:41:28
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json compile error TS2345:
Argument of type 'BigInt64Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'BigInt64Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.

types/node/node-tests/globals-dom.ts:40:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  Buffer || Buffer<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer

types/node/node-tests/globals-dom.ts:41:5
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  BigInt64Array || BigInt64Array<ArrayBuffer>
got:
  ArrayBufferView<ArrayBuffer> & not ArrayBuffer
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: postman-collection

Package: postman-collection

Branch error:

Project scope: tsconfig.json

Error: types/postman-collection/index.d.ts:226:71
TypeScript@local compile error TS2422:
A class can only implement an object type or intersection of object types with statically known members.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react-native-get-random-values

Package: react-native-get-random-values

Branch error:

Project scope: tsconfig.json

Error: types/react-native-get-random-values/react-native-get-random-values-tests.ts:4:11
TypeScript@local compile error TS2322:
Type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer' is not assignable to type 'Uint8Array<ArrayBuffer>'.
  Type 'ArrayBufferView<ArrayBuffer>' is missing the following properties from type 'Uint8Array<ArrayBuffer>': BYTES_PER_ELEMENT, copyWithin, every, fill, and 22 more.

types/react-native-get-random-values/react-native-get-random-values-tests.ts:4:52
TypeScript@local compile error TS2345:
Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
  Type 'Uint8Array<ArrayBuffer>' is not assignable to type 'not ArrayBuffer'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react

Package: react

Branch error:

Project scope: tsconfig.json

Error: types/react/test/index.ts:610:1
TypeScript@local expected type to be:
  Element[]
got:
  Exclude<Element, boolean | null | undefined>[]

types/react/test/index.ts:612:1
TypeScript@local expected type to be:
  (string | Element)[]
got:
  Exclude<string | Element, boolean | null | undefined>[]
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react/v18

Package: react/v18

Branch error:

Project scope: tsconfig.json

Error: types/react/v18/test/index.ts:450:7
TypeScript@local compile error TS2322:
Type 'MemoExoticComponent<ForwardRefExoticComponent<Omit<ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }, "ref"> & RefAttributes<HTMLDivElement>>>' is not assignable to type 'ComponentType<ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }>'.
  Type 'MemoExoticComponent<ForwardRefExoticComponent<Omit<ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }, "ref"> & RefAttributes<HTMLDivElement>>>' is not assignable to type 'FunctionComponent<ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }>'.
    Types of parameters 'props' and 'props' are incompatible.
      Type 'ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }' is not assignable to type 'Omit<Omit<ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & ...'.
        Type 'ForwardingRefComponentProps & { ref: Ref<HTMLDivElement>; }' is not assignable to type '{ ref?: Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined; }'.
          Types of property 'ref' are incompatible.
            Type 'Ref<HTMLDivElement>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
              Type 'RefObject<HTMLDivElement>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
                Type 'RefObject<HTMLDivElement>' is not assignable to type 'RefObject<HTMLDivElement> & not string'.
                  Type 'RefObject<HTMLDivElement>' is not assignable to type 'not string'.

types/react/v18/test/index.ts:960:9
TypeScript@local compile error TS2322:
Type 'RefObject<HTMLDivElement>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
  Type 'RefObject<HTMLDivElement>' is not assignable to type 'RefObject<HTMLDivElement> & not string'.
    Type 'RefObject<HTMLDivElement>' is not assignable to type 'not string'.

types/react/v18/test/index.ts:965:9
TypeScript@local compile error TS2322:
Type '(current: string) => void' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
  Type '(current: string) => void' is not assignable to type '((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) & not string'.
    Type '(current: string) => void' is not assignable to type 'not string'.

types/react/v18/test/index.ts:974:15
TypeScript@local compile error TS2430:
Interface 'ExtendedForwardRefComponentProps' incorrectly extends interface 'Omit<{ value: string; optional?: number; } & RefAttributes<HTMLDivElement>, "ref"> & { ref?: Exclude<string | RefObject<HTMLDivElement> | ... | null, string> | undefined; }'.
  Type 'ExtendedForwardRefComponentProps' is not assignable to type '{ ref?: Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined; }'.
    Types of property 'ref' are incompatible.
      Type 'Ref<ClassComponent>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
        Type 'RefObject<ClassComponent>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
          Type 'RefObject<ClassComponent>' is not assignable to type 'RefObject<HTMLDivElement> & not string'.
            Type 'RefObject<ClassComponent>' is not assignable to type 'not string'.

types/react/v18/test/tsx.tsx:338:12
TypeScript@local compile error TS2322:
Type 'RefObject<HTMLDivElement>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
  Type 'RefObject<HTMLDivElement>' is not assignable to type 'RefObject<HTMLDivElement> & not string'.
    Type 'RefObject<HTMLDivElement>' is not assignable to type 'not string'.

types/react/v18/test/tsx.tsx:410:9
TypeScript@local compile error TS2322:
Type '(ref: Test | null) => void' is not assignable to type 'Exclude<string | RefObject<Test> | ((instance: Test | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
  Type '(ref: Test | null) => void' is not assignable to type '((instance: Test | null) => void | (() => VoidOrUndefinedOnly)) & not string'.
    Type '(ref: Test | null) => void' is not assignable to type 'not string'.

types/react/v18/test/tsx.tsx:414:24
TypeScript@local compile error TS2322:
Type 'RefObject<HTMLDivElement>' is not assignable to type 'Exclude<string | RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined'.
  Type 'RefObject<HTMLDivElement>' is not assignable to type 'RefObject<HTMLDivElement> & not string'.
    Type 'RefObject<HTMLDivElement>' is not assignable to type 'not string'.

types/react/v18/test/index.ts:649:1
TypeScript@local expected type to be:
  Element[]
got:
  Exclude<Element, boolean | null | undefined>[]

types/react/v18/test/index.ts:651:1
TypeScript@local expected type to be:
  (string | Element)[]
got:
  Exclude<string | Element, boolean | null | undefined>[]

types/react/v18/test/tsx.tsx:566:1
TypeScript@local expected type to be:
  ((instance: HTMLImageElement | null) => void | (() => VoidOrUndefinedOnly)) | RefObject<HTMLImageElement> | null | undefined
got:
  Exclude<string | RefObject<HTMLImageElement> | ((instance: HTMLImageElement | null) => void | (() => VoidOrUndefinedOnly)) | null, string> | undefined
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react/v17

Package: react/v17

Branch error:

Project scope: tsconfig.json

Error: types/react/v17/test/index.ts:622:1
TypeScript@local expected type to be:
  Element[]
got:
  Exclude<Element, boolean | null | undefined>[]

types/react/v17/test/index.ts:624:1
TypeScript@local expected type to be:
  (string | Element)[]
got:
  Exclude<string | Element, boolean | null | undefined>[]

types/react/v17/test/tsx.tsx:479:1
TypeScript@local expected type to be:
  ((instance: HTMLImageElement | null) => void) | RefObject<HTMLImageElement> | null | undefined
got:
  Exclude<string | RefObject<HTMLImageElement> | ((instance: HTMLImageElement | null) => void) | null, string> | undefined
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: react/v16

Package: react/v16

Branch error:

Project scope: tsconfig.json

Error: types/react/v16/test/index.ts:623:1
TypeScript@local expected type to be:
  Element[]
got:
  Exclude<Element, boolean | null | undefined>[]

types/react/v16/test/index.ts:625:1
TypeScript@local expected type to be:
  (string | Element)[]
got:
  Exclude<string | Element, boolean | null | undefined>[]

types/react/v16/test/tsx.tsx:477:1
TypeScript@local expected type to be:
  ((instance: HTMLImageElement | null) => void) | RefObject<HTMLImageElement> | null | undefined
got:
  Exclude<string | RefObject<HTMLImageElement> | ((instance: HTMLImageElement | null) => void) | null, string> | undefined
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: yargs

Package: yargs

Branch error:

Project scope: tsconfig.json

Error: types/yargs/yargs-tests.ts:61:17
TypeScript@local compile error TS18048:
'argv.x' is possibly 'undefined'.

types/yargs/yargs-tests.ts:61:26
TypeScript@local compile error TS18048:
'argv.y' is possibly 'undefined'.

types/yargs/yargs-tests.ts:156:5
TypeScript@local expected type to be:
  { [x: string]: unknown; _: (string | number)[]; $0: string; } | Promise<{ [x: string]: unknown; _: (string | number)[]; $0: string; }>
got:
  Promise<{ [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }> | { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }

types/yargs/yargs-tests.ts:159:5
TypeScript@local expected type to be:
  { [x: string]: unknown; _: (string | number)[]; $0: string; } | Promise<{ [x: string]: unknown; _: (string | number)[]; $0: string; }>
got:
  Promise<{ [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }> | { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }

types/yargs/yargs-tests.ts:162:5
TypeScript@local expected type to be:
  { [x: string]: unknown; _: (string | number)[]; $0: string; } | Promise<{ [x: string]: unknown; _: (string | number)[]; $0: string; }>
got:
  Promise<{ [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }> | { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }

types/yargs/yargs-tests.ts:165:5
TypeScript@local expected type to be:
  { [x: string]: unknown; _: (string | number)[]; $0: string; } | Promise<{ [x: string]: unknown; _: (string | number)[]; $0: string; }>
got:
  Promise<{ [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }> | { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; }

types/yargs/yargs-tests.ts:168:5
TypeScript@local expected type to be:
  { [x: string]: unknown; update: boolean | undefined; extern: boolean | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; extern: boolean | undefined; update: boolean | undefined; }

types/yargs/yargs-tests.ts:467:5
TypeScript@local expected type to be:
  { [x: string]: unknown; file: unknown; cleanDestination: boolean | undefined; _: (string | number)[]; $0: string; } | Promise<{ [x: string]: unknown; file: unknown; cleanDestination: boolean | undefined; _: (string | number)[]; $0: string; }>
got:
  Promise<{ [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; cleanDestination: boolean | undefined; file: unknown; }> | { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; cleanDestination: boolean | undefined; file: unknown; }

types/yargs/yargs-tests.ts:1029:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: (string | number)[] | undefined; b: boolean | undefined; c: number; n: number | undefined; s: string | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: (string | number)[] | undefined; b: boolean | undefined; c: number; n: number | undefined; s: string | undefined; }

types/yargs/yargs-tests.ts:1038:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number; b: boolean; c: string; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: number; b: Exclude<boolean, undefined>; c: string; }

types/yargs/yargs-tests.ts:1045:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: (string | number)[] | undefined; b: boolean | undefined; n: number | undefined; s: string | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: (string | number)[] | undefined; b: boolean | undefined; n: number | undefined; s: string | undefined; }

types/yargs/yargs-tests.ts:1053:5
TypeScript@local expected type to be:
  { [x: string]: unknown; choices: Color; numberChoices: Stage; coerce: Date | undefined; count: number; normalize: string | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; choices: Color; coerce: Date | undefined; count: number; normalize: string | undefined; numberChoices: Stage; }

types/yargs/yargs-tests.ts:1062:5
TypeScript@local expected type to be:
  { [x: string]: unknown; choices: Color; numberChoices: Stage; coerce: Date; count: number | "no"; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; choices: Color; coerce: Date; count: number | "no"; numberChoices: Stage; }

types/yargs/yargs-tests.ts:1073:5
TypeScript@local expected type to be:
  { [x: string]: unknown; p: ("x" | "y")[] | undefined; q: string[] | undefined; r: "x" | "y" | undefined; s: ("x" | "y")[] | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; p: ("x" | "y")[] | undefined; q: string[] | undefined; r: "x" | "y" | undefined; s: ("x" | "y")[] | undefined; }

types/yargs/yargs-tests.ts:1144:5
TypeScript@local expected type to be:
  string
got:
  ToString<unknown>

types/yargs/yargs-tests.ts:1153:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: string; y: number; }

types/yargs/yargs-tests.ts:1156:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: string; y: number; }

types/yargs/yargs-tests.ts:1159:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string | undefined; y: number | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: string | undefined; y: number | undefined; }

types/yargs/yargs-tests.ts:1162:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/yargs-tests.ts:1165:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/yargs-tests.ts:1168:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string | undefined; y: number | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; x: string | undefined; y: number | undefined; }

types/yargs/yargs-tests.ts:1213:5
TypeScript@local expected type to be:
  boolean
got:
  Exclude<boolean | undefined, undefined>

types/yargs/yargs-tests.ts:1219:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: string; b: boolean; c: number; d: number; e: number; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: boolean; a: string; d: number; e: number; c: number; _: (string | number)[]; $0: string; } ||  { [x: string]: unknown; b: boolean; a: string; c: number; d: number; e: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: string; b: Exclude<boolean, undefined>; c: number; d: number; e: number; }

types/yargs/yargs-tests.ts:1227:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: string; b: boolean; c: number; d: number; e: number; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: boolean; a: string; d: number; e: number; c: number; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: boolean; a: string; c: number; d: number; e: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: string; b: Exclude<boolean, undefined>; c: number; d: number; e: number; }

types/yargs/yargs-tests.ts:1235:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number; b: string; c: boolean; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: string; a: number; c: Date; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: number; b: string; c: boolean; }

types/yargs/yargs-tests.ts:1241:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number; b: string; c: Date; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: string; a: number; c: Date; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: number; b: string; c: Date; }

types/yargs/yargs-tests.ts:1247:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number; b: string[]; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: number; b: string[]; }

types/yargs/yargs-tests.ts:1262:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number | undefined; b: string | undefined; c: Color; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: string | undefined; a: number | undefined; c: Color; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; a: number | undefined; b: string | undefined; c: Exclude<Color | undefined, undefined>; }

types/yargs/yargs-tests.ts:1270:5
TypeScript@local expected type to be:
  { [x: string]: unknown; u: string | undefined; url: string | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; u: string | undefined; url: string | undefined; }

types/yargs/yargs-tests.ts:1277:5
TypeScript@local expected type to be:
  { [x: string]: unknown; v: boolean; loud: boolean; noisy: boolean; verbose: boolean; n: boolean; _: (string | number)[]; $0: string; } || { [x: string]: unknown; v: boolean; verbose: boolean; loud: boolean; noisy: boolean; n: boolean; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; loud: Exclude<boolean, undefined>; n: Exclude<boolean, undefined>; noisy: Exclude<boolean, undefined>; v: Exclude<boolean, undefined>; verbose: Exclude<boolean, undefined>; }

types/yargs/yargs-tests.ts:1284:5
TypeScript@local expected type to be:
  { [x: string]: unknown; n: number; count: number; num: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; count: number; n: number; num: number; }

types/yargs/yargs-tests.ts:1291:5
TypeScript@local expected type to be:
  { [x: string]: unknown; u: string | undefined; url: string | undefined; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; [x: Exclude<string, "">]: unknown; $0: string; _: (string | number)[]; u: string | undefined; }
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: yargs/v16

Package: yargs/v16

Branch error:

Project scope: tsconfig.json

Error: types/yargs/v16/yargs-tests.ts:62:17
TypeScript@local compile error TS18048:
'argv.x' is possibly 'undefined'.

types/yargs/v16/yargs-tests.ts:62:26
TypeScript@local compile error TS18048:
'argv.y' is possibly 'undefined'.

types/yargs/v16/yargs-tests.ts:1007:5
TypeScript@local expected type to be:
  string
got:
  ToString<unknown>

types/yargs/v16/yargs-tests.ts:1025:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/v16/yargs-tests.ts:1028:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/v16/yargs-tests.ts:1104:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number | undefined; b: string | undefined; c: Color; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: string | undefined; a: number | undefined; c: Color; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; c: Exclude<Color | undefined, undefined>; a: number | undefined; b: string | undefined; }
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: yargs/v15

Package: yargs/v15

Branch error:

Project scope: tsconfig.json

Error: types/yargs/v15/yargs-tests.ts:61:17
TypeScript@local compile error TS18048:
'argv.x' is possibly 'undefined'.

types/yargs/v15/yargs-tests.ts:61:26
TypeScript@local compile error TS18048:
'argv.y' is possibly 'undefined'.

types/yargs/v15/yargs-tests.ts:1006:5
TypeScript@local expected type to be:
  string
got:
  ToString<unknown>

types/yargs/v15/yargs-tests.ts:1024:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/v15/yargs-tests.ts:1027:5
TypeScript@local expected type to be:
  { [x: string]: unknown; x: string; y: number; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; x: ToString<unknown>; y: ToNumber<unknown>; }

types/yargs/v15/yargs-tests.ts:1103:5
TypeScript@local expected type to be:
  { [x: string]: unknown; a: number | undefined; b: string | undefined; c: Color; _: (string | number)[]; $0: string; } || { [x: string]: unknown; b: string | undefined; a: number | undefined; c: Color; _: (string | number)[]; $0: string; }
got:
  { [x: string]: unknown; _: (string | number)[]; $0: string; c: Exclude<Color | undefined, undefined>; a: number | undefined; b: string | undefined; }
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: lodash

Package: lodash

Branch error:

Project scope: tsconfig.json

Error: types/lodash/lodash-tests.ts:87:5
TypeScript@local expected type to be:
  AbcObject[]
got:
  (AbcObject & not "" & not 0 & not 0n & not false)[]

types/lodash/lodash-tests.ts:94:5
TypeScript@local expected type to be:
  AbcObject[]
got:
  (AbcObject & not "" & not 0 & not 0n & not false)[]

types/lodash/lodash-tests.ts:5572:5
TypeScript@local expected type to be:
  undefined
got:
  1

types/lodash/lodash-tests.ts:5586:5
TypeScript@local expected type to be:
  boolean
got:
  Exclude<boolean | undefined, undefined>

types/lodash/lodash-tests.ts:5589:5
TypeScript@local expected type to be:
  boolean | undefined
got:
  Exclude<boolean | undefined, undefined> | undefined

types/lodash/lodash-tests.ts:5607:5
TypeScript@local expected type to be:
  string | null | boolean
got:
  boolean | Exclude<string | null, undefined>

types/lodash/lodash-tests.ts:5622:5
TypeScript@local expected type to be:
  undefined
got:
  1

types/lodash/lodash-tests.ts:5635:5
TypeScript@local expected type to be:
  boolean
got:
  Exclude<boolean | undefined, undefined>

types/lodash/lodash-tests.ts:5638:5
TypeScript@local expected type to be:
  boolean | undefined
got:
  Exclude<boolean | undefined, undefined> | undefined

types/lodash/lodash-tests.ts:5648:5
TypeScript@local expected type to be:
  PrimitiveChain<undefined>
got:
  PrimitiveChain<1>

types/lodash/lodash-tests.ts:6085:5
TypeScript@local expected type to be:
  Pick<AbcObject, "b" | "c">
got:
  Pick<AbcObject, Exclude<keyof AbcObject, "a">>

types/lodash/lodash-tests.ts:6087:5
TypeScript@local expected type to be:
  Pick<Dictionary<AbcObject>, string | number>
got:
  Pick<Dictionary<AbcObject>, Exclude<string | number, "a">>
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: jsmidgen

Package: jsmidgen

Branch error:

Project scope: tsconfig.json

Error: types/jsmidgen/jsmidgen-tests.ts:9:9
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'never'.

types/jsmidgen/jsmidgen-tests.ts:15:9
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'never'.

types/jsmidgen/jsmidgen-tests.ts:28:9
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'never'.

types/jsmidgen/jsmidgen-tests.ts:29:9
TypeScript@local compile error TS2322:
Type 'number' is not assignable to type 'undefined'.

types/jsmidgen/jsmidgen-tests.ts:33:21
TypeScript@local compile error TS2345:
Argument of type '90' is not assignable to parameter of type 'never'.

types/jsmidgen/jsmidgen-tests.ts:34:21
TypeScript@local compile error TS2345:
Argument of type '90' is not assignable to parameter of type 'never'.

types/jsmidgen/jsmidgen-tests.ts:56:28
TypeScript@local compile error TS2345:
Argument of type '19' is not assignable to parameter of type 'never'.

types/jsmidgen/jsmidgen-tests.ts:84:27
TypeScript@local compile error TS2345:
Argument of type '19' is not assignable to parameter of type 'never'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: ref-struct-di

Package: ref-struct-di

Branch error:

Project scope: tsconfig.json

Error: types/ref-struct-di/ref-struct-di-tests.ts:44:1
TypeScript@local expected type to be:
  StructType<{ x: Type<number>; }>
got:
  StructType<{ x: Type<any>; }>

types/ref-struct-di/ref-struct-di-tests.ts:46:1
TypeScript@local expected type to be:
  StructType<{ x: Type<number>; }>
got:
  StructType<{ x: Type<any>; }>

types/ref-struct-di/ref-struct-di-tests.ts:71:1
TypeScript@local expected type to be:
  StructType<{ x: Type<number>; }>
got:
  StructType<{ x: Type<any>; }>

types/ref-struct-di/ref-struct-di-tests.ts:73:1
TypeScript@local expected type to be:
  StructType<{ x: Type<number>; }>
got:
  StructType<{ x: Type<any>; }>
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) pack this

@typescript-automation

typescript-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
pack this ✅ Started ✅ Results

@github-actions

Copy link
Copy Markdown

Hey, Wesley Wigham (@weswigham)! I've packed 5d931b8 into an installable package. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "npm:@typescript-deploys/pr-build@7.1.0-pr.64515.5"
    }
}

and then running npm install.

There is also a playground for this build.

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - native
Errors 41 41 ~ ~ ~ p=1.000 n=20
Symbols 88,386 88,376 -10 (- 0.01%) ~ ~ p=0.000 n=20
Types 79,848 79,824 -24 (- 0.03%) ~ ~ p=0.000 n=20
Memory Used 107,206k (± 0.02%) 107,195k (± 0.02%) ~ 107,093k 107,278k p=0.452 n=20
Memory Allocs 1,052,526 (± 0.00%) 1,052,299 (± 0.01%) -230 (- 0.02%) 1,052,068 1,052,694 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.036s (± 3.51%) 0.036s (± 2.86%) ~ 0.033s 0.041s p=0.794 n=20
Bind Time 0.013s (± 7.05%) 0.012s (± 8.56%) ~ 0.010s 0.017s p=0.308 n=20
Check Time 0.459s (± 0.55%) 0.457s (± 0.49%) ~ 0.449s 0.465s p=0.287 n=20
Emit Time 0.222s (± 0.70%) 0.223s (± 0.89%) ~ 0.215s 0.230s p=0.955 n=20
Total Time 0.736s (± 0.37%) 0.734s (± 0.37%) ~ 0.724s 0.752s p=0.305 n=20
angular-1 - native
Errors 63 101 🔻+38 (+60.32%) ~ ~ p=0.000 n=20
Symbols 753,869 808,337 🔻+54,468 (+ 7.23%) ~ ~ p=0.000 n=20
Types 547,920 627,859 🔻+79,939 (+14.59%) ~ ~ p=0.000 n=20
Memory Used 645,867k (± 0.01%) 684,020k (± 0.01%) 🔻+38,156k (+ 5.91%) 683,609k 684,336k p=0.000 n=20
Memory Allocs 8,326,394 (± 0.04%) 9,076,969 (± 0.04%) 🔻+750,944 (+ 9.02%) 9,070,783 9,099,672 p=0.000 n=20
Config Time 0.013s (± 0.81%) 0.013s (± 1.65%) ~ 0.012s 0.014s p=1.000 n=20
Parse Time 0.204s (± 2.14%) 0.205s (± 2.62%) ~ 0.190s 0.227s p=1.000 n=20
Bind Time 0.064s (±12.04%) 0.065s (±11.58%) ~ 0.053s 0.099s p=0.816 n=20
Check Time 1.122s (± 0.79%) 1.515s (± 1.04%) 🔻+0.392s (+34.96%) 1.472s 1.568s p=0.000 n=20
Emit Time 0.737s (± 1.09%) 0.746s (± 0.60%) +0.008s (+ 1.05%) 0.734s 0.773s p=0.040 n=20
Total Time 2.155s (± 0.62%) 2.564s (± 0.63%) 🔻+0.409s (+18.97%) 2.525s 2.621s p=0.000 n=20
arktype - native
Errors 0 172 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 679,786 2,556,278 🔻+1,876,492 (+276.04%) ~ ~ p=0.000 n=20
Types 940,744 2,037,663 🔻+1,096,919 (+116.60%) ~ ~ p=0.000 n=20
Memory Used 480,981k (± 0.01%) 1,146,200k (± 0.00%) 🔻+665,217k (+138.30%) 1,146,090k 1,146,288k p=0.000 n=20
Memory Allocs 11,843,721 (± 0.02%) 27,042,196 (± 0.00%) 🔻+15,200,395 (+128.34%) 27,039,165 27,047,825 p=0.000 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.066s (± 2.05%) 0.066s (± 2.92%) ~ 0.061s 0.078s p=0.738 n=20
Bind Time 0.019s (± 7.16%) 0.020s (± 9.81%) ~ 0.017s 0.033s p=0.442 n=20
Check Time 1.488s (± 0.51%) 7.023s (± 0.24%) 🔻+5.554s (+373.11%) 6.958s 7.093s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.620s (± 0.60%) 7.118s (± 0.23%) 🔻+5.508s (+340.01%) 7.062s 7.183s p=0.000 n=20
class-transformer - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 45,389 45,389 ~ ~ ~ p=1.000 n=20
Types 7,638 7,638 ~ ~ ~ p=1.000 n=20
Memory Used 27,747k (± 0.03%) 27,756k (± 0.03%) ~ 27,722k 27,797k p=0.241 n=20
Memory Allocs 231,970 (± 0.05%) 231,979 (± 0.04%) ~ 231,423 232,289 p=0.622 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.020s (± 2.48%) 0.020s (± 2.50%) ~ 0.019s 0.023s p=0.950 n=20
Bind Time 0.007s (±10.98%) 0.007s (±13.24%) ~ 0.005s 0.010s p=0.981 n=20
Check Time 0.019s (± 6.50%) 0.018s (± 5.62%) ~ 0.016s 0.022s p=0.733 n=20
Emit Time 0.017s (± 6.42%) 0.018s (± 8.34%) ~ 0.015s 0.025s p=0.256 n=20
Total Time 0.066s (± 1.09%) 0.066s (± 2.01%) ~ 0.062s 0.072s p=0.887 n=20
effect - native
Errors 14 154 🔻+140 (+1,000.00%) ~ ~ p=0.000 n=20
Symbols 1,234,415 1,265,403 +30,988 (+ 2.51%) ~ ~ p=0.000 n=20
Types 894,966 940,994 🔻+46,028 (+ 5.14%) ~ ~ p=0.000 n=20
Memory Used 946,494k (± 0.01%) 969,185k (± 0.01%) +22,684k (+ 2.40%) 968,793k 969,759k p=0.000 n=20
Memory Allocs 11,760,446 (± 0.05%) 12,205,057 (± 0.01%) +447,876 (+ 3.81%) 12,200,203 12,215,012 p=0.000 n=20
Config Time 0.006s 0.006s ~ ~ ~ p=1.000 n=20
Parse Time 0.330s (± 1.41%) 0.326s (± 1.58%) ~ 0.308s 0.344s p=0.216 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.875s (± 0.50%) 2.158s (± 0.37%) 🔻+0.282s (+15.02%) 2.129s 2.186s p=0.000 n=20
Emit Time 0.922s (± 2.20%) 0.968s (± 2.70%) 🔻+0.051s (+ 5.51%) 0.873s 1.066s p=0.021 n=20
Total Time 3.300s (± 0.54%) 3.635s (± 0.69%) 🔻+0.335s (+10.16%) 3.551s 3.733s p=0.000 n=20
mui-docs - native
Errors 11,408 11,421 +13 (+ 0.11%) ~ ~ p=0.000 n=20
Symbols 3,696,940 3,735,007 +38,067 (+ 1.03%) ~ ~ p=0.000 n=20
Types 1,355,929 2,255,094 🔻+899,165 (+66.31%) ~ ~ p=0.000 n=20
Memory Used 1,663,769k (± 0.07%) 2,710,921k (± 0.05%) 🔻+1,047,046k (+62.93%) 2,706,599k 2,717,748k p=0.000 n=20
Memory Allocs 24,549,674 (± 0.06%) 69,073,516 (± 0.02%) 🔻+44,521,970 (+181.35%) 69,041,592 69,122,524 p=0.000 n=20
Config Time 0.016s (± 1.46%) 0.016s (± 0.90%) ~ 0.015s 0.016s p=0.240 n=20
Parse Time 0.542s (± 2.34%) 0.555s (± 1.80%) ~ 0.521s 0.585s p=0.076 n=20
Bind Time 0.003s (±17.60%) 0.002s (± 8.70%) 🟩-0.001s (-18.35%) 0.002s 0.003s p=0.010 n=20
Check Time 5.663s (± 0.38%) 471.145s (± 0.27%) 🔻+465.327s (+8,216.60%) 467.673s 479.380s p=0.000 n=20
Emit Time 0.611s (± 5.67%) 0.549s (± 6.79%) 🟩-0.063s (-10.36%) 0.472s 0.799s p=0.008 n=20
Total Time 7.790s (± 0.58%) 473.182s (± 0.27%) 🔻+464.061s (+5,957.10%) 469.649s 481.381s p=0.000 n=20
sentry - native
Errors 6 201 🔻+195 (+3,250.00%) ~ ~ p=0.000 n=20
Symbols 4,782,091 4,741,612 -40,479 (- 0.85%) ~ ~ p=0.000 n=20
Types 2,597,023 2,976,646 🔻+379,623 (+14.62%) ~ ~ p=0.000 n=20
Memory Used 2,805,736k (± 0.03%) 3,279,469k (± 0.02%) 🔻+473,976k (+16.89%) 3,277,372k 3,282,888k p=0.000 n=20
Memory Allocs 73,914,387 (± 0.14%) 78,400,248 (± 0.08%) 🔻+4,532,731 (+ 6.13%) 78,065,999 78,575,752 p=0.000 n=20
Config Time 0.044s (± 0.64%) 0.044s (± 0.65%) -0.001s (- 1.14%) 0.043s 0.045s p=0.042 n=20
Parse Time 0.975s (± 2.52%) 0.996s (± 2.51%) ~ 0.915s 1.108s p=0.143 n=20
Bind Time 0.314s (±11.67%) 0.283s (± 9.55%) ~ 0.240s 0.464s p=0.105 n=20
Check Time 13.459s (± 0.38%) 19.742s (± 0.38%) 🔻+6.278s (+46.64%) 19.500s 20.120s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 14.863s (± 0.29%) 21.139s (± 0.37%) 🔻+6.263s (+42.14%) 20.864s 21.527s p=0.000 n=20
social-app - native
Errors 0 20 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 1,839,458 1,848,655 +9,197 (+ 0.50%) ~ ~ p=0.000 n=20
Types 1,150,964 1,397,020 🔻+246,056 (+21.38%) ~ ~ p=0.000 n=20
Memory Used 950,116k (± 0.02%) 1,264,896k (± 0.01%) 🔻+314,750k (+33.13%) 1,264,266k 1,265,745k p=0.000 n=20
Memory Allocs 13,292,758 (± 0.14%) 15,983,603 (± 0.08%) 🔻+2,693,522 (+20.26%) 15,941,556 16,041,806 p=0.000 n=20
Config Time 0.013s (± 1.71%) 0.013s (± 1.45%) ~ 0.013s 0.014s p=0.679 n=20
Parse Time 0.335s (± 1.93%) 0.331s (± 1.80%) ~ 0.308s 0.354s p=0.490 n=20
Bind Time 0.082s (±10.72%) 0.086s (±12.27%) ~ 0.070s 0.142s p=0.671 n=20
Check Time 2.938s (± 0.61%) 4.854s (± 0.38%) 🔻+1.910s (+65.03%) 4.803s 4.968s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.391s (± 0.41%) 5.308s (± 0.34%) 🔻+1.915s (+56.47%) 5.253s 5.411s p=0.000 n=20
strada-build-src - native
Errors 2 10 🔻+8 (+400.00%) ~ ~ p=0.000 n=20
Symbols 1,303,922 1,455,310 🔻+151,388 (+11.61%) ~ ~ p=0.000 n=20
Types 442,269 445,655 +3,386 (+ 0.77%) ~ ~ p=0.000 n=20
Memory Used 1,624,394k (± 0.23%) 1,814,618k (± 0.33%) 🔻+190,372k (+11.72%) 1,796,364k 1,830,295k p=0.000 n=20
Memory Allocs 40,954,542 (± 0.06%) 42,597,231 (± 0.08%) +1,636,618 (+ 4.00%) 42,427,934 42,717,384 p=0.000 n=20
Config Time 0.006s (± 8.02%) 0.008s (± 7.73%) 🔻+0.002s (+41.42%) 0.005s 0.010s p=0.000 n=20
Parse Time 0.380s (± 1.22%) 0.413s (± 1.30%) 🔻+0.031s (+ 8.16%) 0.395s 0.434s p=0.000 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.826s (± 0.41%) 1.838s (± 0.40%) +0.012s (+ 0.67%) 1.812s 1.864s p=0.021 n=20
Emit Time 0.293s (± 1.06%) 0.301s (± 1.55%) +0.008s (+ 2.70%) 0.285s 0.326s p=0.020 n=20
Total Time 21.834s (± 0.35%) 22.613s (± 0.23%) +0.780s (+ 3.57%) 22.416s 22.801s p=0.000 n=20
strada-compiler - native
Errors 1 1 ~ ~ ~ p=1.000 n=20
Symbols 263,560 264,295 +735 (+ 0.28%) ~ ~ p=0.000 n=20
Types 199,621 200,788 +1,167 (+ 0.58%) ~ ~ p=0.000 n=20
Memory Used 227,823k (± 0.02%) 228,380k (± 0.02%) +555k (+ 0.24%) 228,067k 228,593k p=0.000 n=20
Memory Allocs 1,924,775 (± 0.02%) 1,944,353 (± 0.02%) +19,571 (+ 1.02%) 1,942,752 1,945,721 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.101s (± 2.65%) 0.106s (± 3.55%) 🔻+0.005s (+ 4.76%) 0.093s 0.116s p=0.023 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.917s (± 0.55%) 0.922s (± 0.42%) ~ 0.911s 0.940s p=0.131 n=20
Emit Time 0.092s (± 5.17%) 0.090s (± 4.76%) ~ 0.079s 0.121s p=0.641 n=20
Total Time 1.166s (± 0.59%) 1.170s (± 0.59%) ~ 1.148s 1.209s p=0.430 n=20
t3code-server - native
Errors 0 581 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 4,344,907 5,164,368 🔻+819,461 (+18.86%) ~ ~ p=0.000 n=20
Types 3,043,310 39,651,976 🔻+36,608,666 (+1,202.92%) ~ ~ p=0.000 n=20
Memory Used 2,407,544k (± 0.02%) 12,817,624k (± 0.00%) 🔻+10,410,656k (+432.42%) 12,815,972k 12,818,898k p=0.000 n=20
Memory Allocs 37,321,432 (± 0.07%) 73,552,682 (± 0.02%) 🔻+36,251,593 (+97.13%) 73,501,234 73,635,085 p=0.000 n=20
Config Time 0.006s (± 2.92%) 0.006s (± 1.75%) ~ 0.005s 0.006s p=0.424 n=20
Parse Time 0.550s (± 1.87%) 0.553s (± 1.92%) ~ 0.521s 0.609s p=0.498 n=20
Bind Time 0.154s (±10.10%) 0.141s (± 2.78%) ~ 0.132s 0.166s p=0.568 n=20
Check Time 12.757s (± 0.44%) 119.560s (± 0.15%) 🔻+106.873s (+837.79%) 118.819s 120.250s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 13.483s (± 0.40%) 120.299s (± 0.15%) 🔻+106.930s (+793.07%) 119.527s 120.996s p=0.000 n=20
tanstack-router - native
Errors 3 3 ~ ~ ~ p=1.000 n=20
Symbols 567,819 599,571 🔻+31,752 (+ 5.59%) ~ ~ p=0.000 n=20
Types 396,730 402,379 +5,649 (+ 1.42%) ~ ~ p=0.000 n=20
Memory Used 313,620k (± 0.01%) 324,676k (± 0.01%) +11,046k (+ 3.52%) 324,490k 324,872k p=0.000 n=20
Memory Allocs 3,981,433 (± 0.02%) 4,169,630 (± 0.03%) 🔻+188,127 (+ 4.73%) 4,165,848 4,176,416 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.063s (± 2.77%) 0.063s (± 2.81%) ~ 0.055s 0.068s p=0.856 n=20
Bind Time 0.020s (±14.17%) 0.020s (±12.61%) ~ 0.016s 0.032s p=0.659 n=20
Check Time 0.847s (± 0.54%) 0.961s (± 0.41%) 🔻+0.114s (+13.49%) 0.947s 0.980s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.934s (± 0.58%) 1.049s (± 0.41%) 🔻+0.119s (+12.68%) 1.035s 1.064s p=0.000 n=20
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=20
Symbols 230,812 230,947 +135 (+ 0.06%) ~ ~ p=0.000 n=20
Types 183,899 184,122 +223 (+ 0.12%) ~ ~ p=0.000 n=20
Memory Used 196,117k (± 0.02%) 196,269k (± 0.02%) +150k (+ 0.08%) 196,145k 196,418k p=0.000 n=20
Memory Allocs 1,316,562 (± 0.01%) 1,336,889 (± 0.01%) +20,358 (+ 1.55%) 1,336,314 1,337,565 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.073s (± 3.10%) 0.074s (± 3.24%) ~ 0.064s 0.082s p=0.622 n=20
Bind Time 0.028s (± 6.70%) 0.028s (± 8.09%) ~ 0.022s 0.037s p=0.751 n=20
Check Time 0.590s (± 0.52%) 0.594s (± 0.75%) ~ 0.582s 0.613s p=0.054 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.703s (± 0.50%) 0.708s (± 0.47%) +0.006s (+ 0.86%) 0.692s 0.719s p=0.006 n=20
vscode - native
Errors 0 31 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 8,707,267 8,734,985 +27,718 (+ 0.32%) ~ ~ p=0.000 n=20
Types 5,042,665 5,085,228 +42,563 (+ 0.84%) ~ ~ p=0.000 n=20
Memory Used 5,838,390k (± 0.02%) 5,881,908k (± 0.02%) +43,708k (+ 0.75%) 5,879,276k 5,886,218k p=0.000 n=20
Memory Allocs 64,653,688 (± 0.02%) 64,958,390 (± 0.03%) +304,521 (+ 0.47%) 64,938,652 65,111,062 p=0.000 n=20
Config Time 0.058s (± 0.48%) 0.058s (± 0.54%) ~ 0.057s 0.059s p=0.079 n=20
Parse Time 2.151s (± 1.59%) 2.125s (± 1.73%) ~ 1.982s 2.242s p=0.349 n=20
Bind Time 0.675s (±10.31%) 0.704s (±11.55%) ~ 0.580s 1.090s p=0.985 n=20
Check Time 16.854s (± 0.77%) 16.570s (± 0.63%) -0.255s (- 1.52%) 16.158s 16.776s p=0.001 n=20
Emit Time 5.161s (± 7.37%) 5.273s (± 7.65%) ~ 4.527s 6.636s p=0.622 n=20
Total Time 24.983s (± 1.35%) 24.824s (± 1.37%) ~ 24.154s 26.008s p=0.261 n=20
webpack - native
Errors 656 673 +17 (+ 2.59%) ~ ~ p=0.000 n=20
Symbols 934,015 945,047 +11,032 (+ 1.18%) ~ ~ p=0.000 n=20
Types 653,766 683,061 🔻+29,295 (+ 4.48%) ~ ~ p=0.000 n=20
Memory Used 771,830k (± 0.02%) 798,663k (± 0.02%) +26,843k (+ 3.48%) 798,120k 799,303k p=0.000 n=20
Memory Allocs 6,695,634 (± 0.18%) 6,989,677 (± 0.17%) 🔻+293,473 (+ 4.38%) 6,973,776 7,084,759 p=0.000 n=20
Config Time 0.007s (± 3.55%) 0.007s (± 3.63%) ~ 0.006s 0.007s p=0.766 n=20
Parse Time 0.246s (± 2.96%) 0.258s (± 2.36%) 🔻+0.014s (+ 5.62%) 0.233s 0.277s p=0.014 n=20
Bind Time 0.070s (±12.59%) 0.065s (±11.92%) ~ 0.053s 0.112s p=0.284 n=20
Check Time 3.132s (± 0.34%) 3.266s (± 0.29%) 🔻+0.133s (+ 4.25%) 3.240s 3.308s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.490s (± 0.49%) 3.630s (± 0.24%) 🔻+0.140s (+ 4.01%) 3.592s 3.683s p=0.000 n=20
xstate-main - native
Errors 1 177 🔻+176 (+17,600.00%) ~ ~ p=0.000 n=20
Symbols 4,336,054 5,433,720 🔻+1,097,666 (+25.31%) ~ ~ p=0.000 n=20
Types 4,462,565 4,740,190 🔻+277,625 (+ 6.22%) ~ ~ p=0.000 n=20
Memory Used 2,425,443k (± 0.01%) 3,487,897k (± 0.01%) 🔻+1,062,445k (+43.80%) 3,486,870k 3,488,928k p=0.000 n=20
Memory Allocs 48,266,728 (± 0.01%) 63,579,857 (± 0.01%) 🔻+15,311,164 (+31.72%) 63,561,086 63,632,314 p=0.000 n=20
Config Time 0.004s (± 2.64%) 0.004s (± 3.68%) ~ 0.003s 0.004s p=0.414 n=20
Parse Time 0.200s (± 1.99%) 0.199s (± 2.24%) ~ 0.182s 0.214s p=0.860 n=20
Bind Time 0.060s (± 9.71%) 0.064s (±12.58%) ~ 0.053s 0.107s p=0.586 n=20
Check Time 8.765s (± 0.43%) 29.166s (± 0.15%) 🔻+20.372s (+232.42%) 29.009s 29.354s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 9.037s (± 0.40%) 29.446s (± 0.16%) 🔻+20.386s (+225.57%) 29.283s 29.624s p=0.000 n=20
System info unknown
Hosts
  • native
Scenarios
  • Compiler-Unions - native
  • angular-1 - native
  • arktype - native
  • class-transformer - native
  • effect - native
  • mui-docs - native
  • sentry - native
  • social-app - native
  • strada-build-src - native
  • strada-compiler - native
  • t3code-server - native
  • tanstack-router - native
  • ts-pre-modules - native
  • vscode - native
  • webpack - native
  • xstate-main - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

Developer Information:

Download Benchmarks

@weswigham

Copy link
Copy Markdown
Member Author

Experiment done, work will continue in #64375 - this breaks soooooo much with the second type leaking into the output in Extract. This is a case where conditionals actually perform a bit better. We'll have to pursue other avenues for fixing Pick<T, Extract<keyof T, U>> | Pick<T, Exclude<keyof T, U>>. Maybe we can change exclude only, because any infection doesn't apply so much to negations? I doubt it. In any case, this isn't going into the core negated types PR.

@github-project-automation github-project-automation Bot moved this from Not started to Done in PR Backlog Nov 24, 2026
@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are the results of running the user tests with tsc comparing baseline and pr:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Unknown failure"

Otherwise...

Something interesting changed - please have a look.

Details

bcryptjs

/mnt/vss/work/1/s/ts_downloads//m/bcryptjs/tsconfig.json

  • [NEW] error TS2345: Argument of type 'Uint32Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferView<ArrayBuffer> & not ArrayBuffer'.
    • /mnt/vss/work/1/s/ts_downloads//m/bcryptjs/node_modules/bcryptjs/src/bcrypt.js(28,70)

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are some more interesting changes from running the user tests suite

Details

effect

packages/tools/ai-docgen/tsconfig.json

  • [NEW] error TS2345: Argument of type '<const I extends Iterable<Result<any, any>> | Record<PropertyKey, Result<any, any>>>(input: I) => [I] extends [readonly Result<any, any>[]] ? Result<{ -readonly [K in keyof I]: [I[K]] extends [Result<infer R, any>] ? R : never; }, I[number] extends never ? never : [I[number]] extends [Result<any, infer L>] ? L : never> : [I] extends [Iterable<Result<infer R, infer L>>] ? Result<R[], L> : Result<{ -readonly [K in keyof I]: [I[K]] extends [Result<infer R, any>] ? R : never; }, I[keyof I] extends never ? never : [I[keyof I]] extends [Result<any, infer L>] ? L : never>' is not assignable to parameter of type '(a: void) => Result<{ [Symbol.iterator]: never; } | { [x: string]: any; [x: number]: any; [x: symbol]: any; }, never>'.
  • [NEW] error TS2345: Argument of type '(self: Iterable<unknown>) => Effect<unknown[], unknown, unknown>' is not assignable to parameter of type 'Effect<unknown, Done<Duration> | Error<Schedules[number]>, Env<Schedules[number]>>'.
  • [NEW] error TS2769: No overload matches this call.
  • [NEW] error TS7006: Parameter 'step' implicitly has an 'any' type.
  • [NEW] error TS18046: 'result' is of type 'unknown'.
  • [NEW] error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'readonly (Duration | undefined)[]'.
  • [NEW] error TS2322: Type 'I[number]' is not assignable to type 'string | number | bigint | boolean | null | undefined'.
  • [NEW] `error TS2345: Argument of type '({ payload }: { readonly payload: AgUiSchema.RunAgentInput; }) => Effect.Effect<HttpApiSchema.withHeaders<Stream.Stream<{ readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TEXT_MESSAGE_START"; readonly messageId: string; readonly role?: "assistant" | "developer" | "system" | "user"; readonly name?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TEXT_MESSAGE_CONTENT"; readonly messageId: string; readonly delta: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TEXT_MESSAGE_END"; readonly messageId: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TEXT_MESSAGE_CHUNK"; readonly messageId?: string; readonly role?: "assistant" | "developer" | "system" | "user"; readonly delta?: string; readonly name?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TOOL_CALL_START"; readonly toolCallId: string; readonly toolCallName: string; readonly parentMessageId?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TOOL_CALL_ARGS"; readonly toolCallId: string; readonly delta: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TOOL_CALL_END"; readonly toolCallId: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TOOL_CALL_CHUNK"; readonly toolCallId?: string; readonly toolCallName?: string; readonly parentMessageId?: string; readonly delta?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "TOOL_CALL_RESULT"; readonly messageId: string; readonly toolCallId: string; readonly content: string | readonly ({ readonly type: "text"; readonly id?: string; readonly text: string; readonly metadata?: unknown; } | { readonly type: "audio"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "document"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "image"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "video"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; })[]; readonly role?: "tool"; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "STATE_SNAPSHOT"; readonly snapshot: unknown; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "STATE_DELTA"; readonly delta: readonly ({ readonly op: "add"; readonly path: string; readonly value: unknown; } | { readonly op: "remove"; readonly path: string; } | { readonly op: "replace"; readonly path: string; readonly value: unknown; } | { readonly op: "move"; readonly from: string; readonly path: string; } | { readonly op: "copy"; readonly from: string; readonly path: string; } | { readonly op: "test"; readonly path: string; readonly value: unknown; })[]; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "MESSAGES_SNAPSHOT"; readonly messages: readonly ({ readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "developer"; readonly name?: string; readonly encryptedValue?: string; readonly content: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "system"; readonly name?: string; readonly encryptedValue?: string; readonly content: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "assistant"; readonly name?: string; readonly encryptedValue?: string; readonly content?: string; readonly toolCalls?: readonly { readonly id: string; readonly type: "function"; readonly function: { readonly name: string; readonly arguments: string; }; readonly encryptedValue?: string; readonly metadata?: { readonly [x: string]: unknown; }; }[]; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "user"; readonly name?: string; readonly encryptedValue?: string; readonly content: string | readonly ({ readonly type: "text"; readonly id?: string; readonly text: string; readonly metadata?: unknown; } | { readonly type: "audio"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "document"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "image"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "video"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; })[]; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "tool"; readonly content: string | readonly ({ readonly type: "text"; readonly id?: string; readonly text: string; readonly metadata?: unknown; } | { readonly type: "audio"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "document"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "image"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "video"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; })[]; readonly toolCallId: string; readonly error?: string; readonly encryptedValue?: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "activity"; readonly activityType: string; readonly content: { readonly [x: string]: unknown; }; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "reasoning"; readonly content: string; readonly encryptedValue?: string; })[]; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "ACTIVITY_SNAPSHOT"; readonly messageId: string; readonly activityType: string; readonly content: { readonly [x: string]: unknown; }; readonly replace?: boolean; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "ACTIVITY_DELTA"; readonly messageId: string; readonly activityType: string; readonly patch: readonly ({ readonly op: "add"; readonly path: string; readonly value: unknown; } | { readonly op: "remove"; readonly path: string; } | { readonly op: "replace"; readonly path: string; readonly value: unknown; } | { readonly op: "move"; readonly from: string; readonly path: string; } | { readonly op: "copy"; readonly from: string; readonly path: string; } | { readonly op: "test"; readonly path: string; readonly value: unknown; })[]; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "RAW"; readonly event: unknown; readonly source?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "CUSTOM"; readonly name: string; readonly value: unknown; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "RUN_STARTED"; readonly threadId: string; readonly runId: string; readonly protocolVersion?: string; readonly parentRunId?: string; readonly input?: { readonly threadId: string; readonly runId: string; readonly protocolVersion?: string; readonly parentRunId?: string; readonly state?: unknown; readonly messages: readonly ({ readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "developer"; readonly name?: string; readonly encryptedValue?: string; readonly content: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "system"; readonly name?: string; readonly encryptedValue?: string; readonly content: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "assistant"; readonly name?: string; readonly encryptedValue?: string; readonly content?: string; readonly toolCalls?: readonly { readonly id: string; readonly type: "function"; readonly function: { readonly name: string; readonly arguments: string; }; readonly encryptedValue?: string; readonly metadata?: { readonly [x: string]: unknown; }; }[]; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "user"; readonly name?: string; readonly encryptedValue?: string; readonly content: string | readonly ({ readonly type: "text"; readonly id?: string; readonly text: string; readonly metadata?: unknown; } | { readonly type: "audio"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "document"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "image"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "video"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; })[]; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "tool"; readonly content: string | readonly ({ readonly type: "text"; readonly id?: string; readonly text: string; readonly metadata?: unknown; } | { readonly type: "audio"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "document"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "image"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; } | { readonly type: "video"; readonly id?: string; readonly source: { readonly type: "data"; readonly value: string; readonly mimeType: string; } | { readonly type: "url"; readonly value: string; readonly mimeType?: string; } | { readonly type: "file"; readonly value: string; readonly provider?: string; readonly mimeType?: string; }; readonly metadata?: unknown; })[]; readonly toolCallId: string; readonly error?: string; readonly encryptedValue?: string; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "activity"; readonly activityType: string; readonly content: { readonly [x: string]: unknown; }; } | { readonly subagentRunId?: string; readonly id: string; readonly metadata?: { readonly [x: string]: unknown; }; readonly role: "reasoning"; readonly content: string; readonly encryptedValue?: string; })[]; readonly tools: readonly { readonly name: string; readonly description: string; readonly parameters?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; }[]; readonly context: readonly { readonly description: string; readonly value: string; }[]; readonly forwardedProps?: unknown; readonly resume?: readonly { readonly interruptId: string; readonly status: "cancelled" | "resolved"; readonly payload?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; }[]; }; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "RUN_FINISHED"; readonly threadId: string; readonly runId: string; readonly result?: unknown; readonly outcome?: { readonly type: "interrupt"; readonly interrupts: readonly [{ readonly subagentRunId?: string; readonly id: string; readonly reason: string; readonly message?: string; readonly toolCallId?: string; readonly responseSchema?: { readonly [x: string]: unknown; }; readonly expiresAt?: string; readonly metadata?: { readonly [x: string]: unknown; }; }, ...{ readonly subagentRunId?: string; readonly id: string; readonly reason: string; readonly message?: string; readonly toolCallId?: string; readonly responseSchema?: { readonly [x: string]: unknown; }; readonly expiresAt?: string; readonly metadata?: { readonly [x: string]: unknown; }; }[]]; } | { readonly type: "cancelled"; } | { readonly type: "success"; readonly pendingToolCallIds?: readonly string[]; }; readonly usage?: readonly { readonly provider?: string; readonly model?: string; readonly inputTokens?: number; readonly outputTokens?: number; readonly totalTokens?: number; readonly reasoningTokens?: number; readonly cachedInputTokens?: number; readonly cacheWriteInputTokens?: number; }[]; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "RUN_ERROR"; readonly message: string; readonly code?: string; readonly usage?: readonly { readonly provider?: string; readonly model?: string; readonly inputTokens?: number; readonly outputTokens?: number; readonly totalTokens?: number; readonly reasoningTokens?: number; readonly cachedInputTokens?: number; readonly cacheWriteInputTokens?: number; }[]; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "STEP_STARTED"; readonly stepName: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "STEP_FINISHED"; readonly stepName: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_START"; readonly messageId: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_MESSAGE_START"; readonly messageId: string; readonly role: "reasoning"; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_MESSAGE_CONTENT"; readonly messageId: string; readonly delta: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_MESSAGE_END"; readonly messageId: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_MESSAGE_CHUNK"; readonly messageId?: string; readonly delta?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_END"; readonly messageId: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly subagentRunId?: string; readonly type: "REASONING_ENCRYPTED_VALUE"; readonly subtype: "message" | "tool-call"; readonly entityId: string; readonly encryptedValue: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "SUBAGENT_STARTED"; readonly subagentRunId: string; readonly name: string; readonly description?: string; readonly parentSubagentRunId?: string; readonly parentToolCallId?: string; readonly parentMessageId?: string; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "SUBAGENT_FINISHED"; readonly subagentRunId: string; readonly result?: unknown; readonly outcome?: { readonly type: "success"; } | { readonly type: "suspended"; readonly interruptIds?: readonly string[]; }; } | { readonly timestamp?: number; readonly rawEvent?: unknown; readonly metadata?: { readonly [x: string]: unknown; }; readonly type: "SUBAGENT_ERROR"; readonly subagentRunId: string; readonly message: string; readonly code?: string; }, never, never>, { "cache-control": "no-cache"; }>, HttpApiError.BadRequest, never>' is not assignable to parameter of type 'Handler<HttpApiEndpoint<"run", "POST", PathInput, never, never, toCodecJson<Exclude<Struct<{ readonly threadId: String; readonly runId: String; readonly protocolVersion: optionalKey; readonly parentRunId: optionalKey; readonly state: optionalKey; readonly messages: decodeTo<$Array<toType<Union<readonly [Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"developer">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"system">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"assistant">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: optionalKey; readonly toolCalls: optionalKey<decodeTo<$Array<toType<Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>>>, $Array<Union<readonly [Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>, Any]>>, never, never>>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"user">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: Union<readonly [String, decodeTo<$Array<toType<Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>>>, $Array<Union<readonly [Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>, Any]>>, never, never>]>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"tool">; readonly content: Union<readonly [String, decodeTo<$Array<toType<Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>>>, $Array<Union<readonly [Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>, Any]>>, never, never>]>; readonly toolCallId: String; readonly error: optionalKey; readonly encryptedValue: optionalKey; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"activity">; readonly activityType: String; readonly content: $Record<String, Unknown>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"reasoning">; readonly content: String; readonly encryptedValue: optionalKey; }>]>>>, $Array<Union<readonly [Union<readonly [Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"developer">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"system">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"assistant">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: optionalKey; readonly toolCalls: optionalKey<decodeTo<$Array<toType<Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>>>, $Array<Union<readonly [Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>, Any]>>, never, never>>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"user">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: Union<readonly [String, decodeTo<$Array<toType<Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>>>, $Array<Union<readonly [Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>, Any]>>, never, never>]>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"tool">; readonly content: Union<readonly [String, decodeTo<$Array<toType<Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>>>, $Array<Union<readonly [Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"video">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"document">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>]>, Any]>>, never, never>]>; readonly toolCallId: String; readonly error: optionalKey; readonly encryptedValue: optionalKey; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"activity">; readonly activityType: String; readonly content: $Record<String, Unknown>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"reasoning">; readonly content: String; readonly encryptedValue: optionalKey; }>]>, Any]>>, never, never>; readonly tools: withDecodingDefaultTypeKey<$Array<Struct<{ readonly name: String; readonly description: String; readonly parameters: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>>, never>; readonly context: withDecodingDefaultTypeKey<$Array<Struct<{ readonly description: String; readonly value: String; }>>, never>; readonly forwardedProps: optionalKey; readonly resume: optionalKey<decodeTo<$Array<toType<Struct<{ readonly interruptId: String; readonly status: Literals<readonly ["resolved", "cancelled"]>; readonly payload: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>>>, $Array<Union<readonly [Struct<{ readonly interruptId: String; readonly status: Literals<readonly ["resolved", "cancelled"]>; readonly payload: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>, Any]>>, never, never>>; }>, StreamSchema>> | Extract<Struct<{ readonly threadId: String; readonly runId: String; readonly protocolVersion: optionalKey; readonly parentRunId: optionalKey; readonly state: optionalKey; readonly messages: decodeTo<$Array<toType<Union<readonly [Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"developer">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"system">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: String; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"assistant">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: optionalKey; readonly toolCalls: optionalKey<decodeTo<$Array<toType<Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>>>, $Array<Union<readonly [Struct<{ readonly id: String; readonly type: Literal<"function">; readonly function: Struct<{ readonly name: String; readonly arguments: String; }>; readonly encryptedValue: optionalKey; readonly metadata: optionalKey<$Record<String, Unknown>>; }>, Any]>>, never, never>>; }>, Struct<{ readonly subagentRunId: optionalKey; readonly id: String; readonly metadata: optionalKey<$Record<String, Unknown>>; readonly role: Literal<"user">; readonly name: optionalKey; readonly encryptedValue: optionalKey; readonly content: Union<readonly [String, decodeTo<$Array<toType<Union<readonly [Struct<{ readonly type: Literal<"text">; readonly id: optionalKey; readonly text: String; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"image">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey; }>, Struct<{ readonly type: Literal<"file">; readonly value: String; readonly provider: optionalKey; readonly mimeType: optionalKey; }>]>; readonly metadata: optionalKey; }>, Struct<{ readonly type: Literal<"audio">; readonly id: optionalKey; readonly source: Union<readonly [Struct<{ readonly type: Literal<"data">; readonly value: String; readonly mimeType: String; }>, Struct<{ readonly type: Literal<"url">; readonly value: String; readonly mimeType: optionalKey

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are some more interesting changes from running the user tests suite

Details

webpack

tsconfig.json

  • [NEW] error TS2345: Argument of type 'JsonObject' is not assignable to parameter of type 'JsonObject & not false'.
  • [NEW] error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string[] & not string'.
  • [NEW] error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
  • [NEW] error TS2322: Type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; }' is not assignable to type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; } & not string'.
  • [NEW] error TS2322: Type 'string | false | JsonObject | undefined' is not assignable to type 'void | undefined'.
  • [NEW] error TS2345: Argument of type 'string | { ident?: string | undefined; loader?: string | undefined; options?: RuleSetLoaderOptions | undefined; sourceTest?: RuleSetConditionOrConditions | undefined; }' is not assignable to parameter of type 'Exclude<NonNullable<RuleSetUseItem>, RuleSetUseFn>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, BinaryMiddleware, undefined>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS2345: Argument of type '(() => ComplexSerializableType[] | Promise<ComplexSerializableType[]>) | (Function & (() => void)) | ((() => ... | Promise<...>) & ...)' is not assignable to parameter of type 'LazyFunction<ComplexSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS7053: Element implicitly has an 'any' type because expression of type 'Exclude<StatsValue, "normal" | boolean | StatsOptions>' can't be used to index type 'NamedPresets'.
  • [NEW] error TS2345: Argument of type 'ChunkFilenameTemplateFn' is not assignable to parameter of type 'ChunkFilenameTemplateFn & not string'.
  • [NEW] error TS2345: Argument of type '<T>(set: Exclude<RuntimeSpec, undefined | string>) => string' is not assignable to parameter of type '(set: SortableSet<string>) => string'.

tsconfig.types.json

  • [NEW] error TS2345: Argument of type 'JsonObject' is not assignable to parameter of type 'JsonObject & not false'.
  • [NEW] error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string[] & not string'.
  • [NEW] error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
  • [NEW] error TS2322: Type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; }' is not assignable to type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; } & not string'.
  • [NEW] error TS2322: Type 'string | false | JsonObject | undefined' is not assignable to type 'void | undefined'.
  • [NEW] error TS2345: Argument of type 'string | { ident?: string | undefined; loader?: string | undefined; options?: RuleSetLoaderOptions | undefined; sourceTest?: RuleSetConditionOrConditions | undefined; }' is not assignable to parameter of type 'Exclude<NonNullable<RuleSetUseItem>, RuleSetUseFn>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, BinaryMiddleware, undefined>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS2345: Argument of type '(() => ComplexSerializableType[] | Promise<ComplexSerializableType[]>) | (Function & (() => void)) | ((() => ... | Promise<...>) & ...)' is not assignable to parameter of type 'LazyFunction<ComplexSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS7053: Element implicitly has an 'any' type because expression of type 'Exclude<StatsValue, "normal" | boolean | StatsOptions>' can't be used to index type 'NamedPresets'.
  • [NEW] error TS2345: Argument of type 'ChunkFilenameTemplateFn' is not assignable to parameter of type 'ChunkFilenameTemplateFn & not string'.
  • [NEW] error TS2345: Argument of type '<T>(set: Exclude<RuntimeSpec, undefined | string>) => string' is not assignable to parameter of type '(set: SortableSet<string>) => string'.

tsconfig.types.test.json

  • [NEW] error TS2345: Argument of type 'JsonObject' is not assignable to parameter of type 'JsonObject & not false'.
  • [NEW] error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string[] & not string'.
  • [NEW] error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
  • [NEW] error TS2322: Type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; }' is not assignable to type '{ color?: string | undefined; crossorigin?: "anonymous" | "use-credentials" | undefined; href: string; media?: string | undefined; sizes?: string | undefined; type?: string | undefined; } & not string'.
  • [NEW] error TS2322: Type 'string | false | JsonObject | undefined' is not assignable to type 'void | undefined'.
  • [NEW] error TS2345: Argument of type 'string | { ident?: string | undefined; loader?: string | undefined; options?: RuleSetLoaderOptions | undefined; sourceTest?: RuleSetConditionOrConditions | undefined; }' is not assignable to parameter of type 'Exclude<NonNullable<RuleSetUseItem>, RuleSetUseFn>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, BinaryMiddleware, undefined>'.
  • [NEW] error TS2345: Argument of type '(() => PrimitiveSerializableType[] | Promise<PrimitiveSerializableType[]>) | (string & (() => void)) | (number & ...) | (bigint & ...) | (false & ...) | (true & ...) | (... & ...)' is not assignable to parameter of type 'LazyFunction<PrimitiveSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS2345: Argument of type '(() => ComplexSerializableType[] | Promise<ComplexSerializableType[]>) | (Function & (() => void)) | ((() => ... | Promise<...>) & ...)' is not assignable to parameter of type 'LazyFunction<ComplexSerializableType[], SerializedType, LazyTarget, LazyOptions | undefined>'.
  • [NEW] error TS7053: Element implicitly has an 'any' type because expression of type 'Exclude<StatsValue, "normal" | boolean | StatsOptions>' can't be used to index type 'NamedPresets'.
  • [NEW] error TS2345: Argument of type 'ChunkFilenameTemplateFn' is not assignable to parameter of type 'ChunkFilenameTemplateFn & not string'.
  • [NEW] error TS2345: Argument of type '<T>(set: Exclude<RuntimeSpec, undefined | string>) => string' is not assignable to parameter of type '(set: SortableSet<string>) => string'.
  • [NEW] error TS2345: Argument of type 'void' is not assignable to parameter of type 'PrimitiveSerializableType'.

packages/codegen/tsconfig.json

xterm.js

src/tsconfig-library-base.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants