You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
knockout is exported from Cesium.js, but there is no matching export within Cesium.d.ts. Therefore there is no obvious type-safe way to access knockout functionality, such as subscribing to observables within view models.
The work around is to disable typescript checking of the relevant line:
// @ts-ignore
import { knockout as ko } from 'cesium';
TS type definitions exist for both knockout-es5 and knockout:
What happened?
knockout
is exported fromCesium.js
, but there is no matching export withinCesium.d.ts
. Therefore there is no obvious type-safe way to access knockout functionality, such as subscribing to observables within view models.The work around is to disable typescript checking of the relevant line:
TS type definitions exist for both knockout-es5 and knockout:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/knockout.es5/index.d.ts
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/knockout/index.d.ts
Environment
CesiumJS Version: 1.123.1
The text was updated successfully, but these errors were encountered: