BugDomain: lib.d.tsHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
Bug Report
ð Search Terms
URLSearchParams
ð Version & Regression Information
TypeScript Version: typescript@4.9.5
- This is a crash
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about
URLSearchParams.size
⯠Playground Link
Playground link with relevant code
ð» Code
console.log(new URLSearchParams().size)
ð Actual behavior
Property 'size' does not exist on type 'URLSearchParams'.ts(2339)
ð Expected behavior
No error
Related bug:
https://github.com/microsoft/TypeScript/issues/38139
Note: Adding { "lib": ["dom.iterable"] } to my compilerOptions does not help.