Open
Description
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
USVString
Code
function example(uri: USVString) {
// Do some work
}
Expected behavior:
Until typescript version 3.0.3 USVString used to be an existing type defined in lib.dom.d.ts
in version 3.1, according to the breaking changes page, some vendor-specific types are removed from lib.d.ts, a full list of removed types is included.
USVString is not on that list, yet it's type definition was also removed.
USVString is defined under webIDL, as can be seen here.
Actual behavior:
error TS2304: Cannot find name 'USVString'.