Incorrect casing: property "URL.searchparams" should be "URL.searchParams" #14399
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
In lib.dom.d.ts, the searchparams property of the URL interface should be cased as searchParams according to MDN.
TypeScript Version: 2.2.1
Code
Expected behavior:
Should compile successfully.
Actual behavior:
tsc
returns an error when compiling.src/index.ts(9,19): error TS2339: Property 'searchParams' does not exist on type 'URL'.
The text was updated successfully, but these errors were encountered: