A combination of @types/node and typescript: 3.7.3 yields:
../../node_modules/.registry.npmjs.org/@types/node/12.20.43/node_modules/@types/node/url.d.ts:137:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'URLSearchParams' must be of type '{ new (init?: string | string[][] | URLSearchParams | Record<string, string>): URLSearchParams; prototype: URLSearchParams; }', but here has type '{ new (init?: string | string[][] | URLSearchParams | Record<string, string>): URLSearchParams; prototype: URLSearchParams; toString(): string; }'.
137 var URLSearchParams: {
~~~~~~~~~~~~~~~
../../node_modules/.registry.npmjs.org/typescript/3.7.3/node_modules/typescript/lib/lib.dom.d.ts:16107:13
16107 declare var URLSearchParams: {
~~~~~~~~~~~~~~~
'URLSearchParams' was also declared here.
Is there a good workaround for this now?
Originally posted by @aaronatbissell in #34960 (comment)
relates #34960
A combination of @types/node and typescript: 3.7.3 yields:
Is there a good workaround for this now?
Originally posted by @aaronatbissell in #34960 (comment)
relates #34960