Definitelytyped: [@types/ol] Last update broken

Created on 18 Sep 2020  ·  6Comments  ·  Source: DefinitelyTyped/DefinitelyTyped

ERROR in node_modules/@types/ol/Geolocation.d.ts:77:24 - error TS2304: Cannot find name 'GeolocationPositionError'.

Most helpful comment

Just a small reminder for next releases: Only release breaking changes like this whenever Typescript is also officially released, since 4.1.0 is still only the "next" version. Great job tho :)

All 6 comments

Ping @hanreev as the code owner of this typings.

It is TypeScript 4.1 changes, use previous version if you are using TypeScript < 4.1

47681

Thanks for the pointer!

Just a small reminder for next releases: Only release breaking changes like this whenever Typescript is also officially released, since 4.1.0 is still only the "next" version. Great job tho :)

I cannot seem to find a stable version. My system runs on typescript 3.4.5 and any versions of this fails to compile with the above error

add this bad boy to your tsconfig to jump over the issue.
```
{
"compilerOptions": {
"skipLibCheck": true
},
}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lilling picture lilling  ·  3Comments

variousauthors picture variousauthors  ·  3Comments

fasatrix picture fasatrix  ·  3Comments

stevermeister picture stevermeister  ·  3Comments

victor-guoyu picture victor-guoyu  ·  3Comments