With release 2.2.1 of TypeScript, interface URLSearchParams
has finally landed in the standard DOM library. To include it in your build, upgrade to TypeScript 2.2.1 or higher and check your tsconfig.json
to make sure the DOM lib is included in your build (by default it is).
To remove this library from your typings execute:
typings uninstall url-search-params-typing --global --save
By some unfortunate timing, the typings for the URLSearchParams interface, part of the whatwg URL spec, aren't available anywhere, even though some code is already using it.
This repo can be used as a temporary patch until the interface is added to a standard library. To install:
typings install github:RomkeVdMeulen/URLSearchParams --global --save