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
In Cesium.d.ts, ScreenSpaceEventHandler#getInputAction' s type may be wrong.
Actual: returning void
/** * Returns the function to be executed on an input event. * @param type - The ScreenSpaceEventType of input event. * @param [modifier] - A KeyboardEventModifier key that is held when a <code>type</code> * event occurs. */getInputAction(type: number,modifier?: number): void;
Expected: returning a function like (...args: any[]) => any;
/** * Returns the function to be executed on an input event. * @param type - The ScreenSpaceEventType of input event. * @param [modifier] - A KeyboardEventModifier key that is held when a <code>type</code> * event occurs. */getInputAction(type: number,modifier?: number): (...args: any[])=>any;
The text was updated successfully, but these errors were encountered:
rot1024
changed the title
getInputAction is wrong typed
getInputAction is wrongly typed
Jun 8, 2020
Thanks @rot1024, not sure how I missed this issue but you are absolutely correct. There are some additional ScreenSpaceEventHandler issues as well (CC #8945) so hopefully we can address them all for the 1.71 on July 1st
In
Cesium.d.ts
,ScreenSpaceEventHandler#getInputAction
' s type may be wrong.Actual: returning
void
Expected: returning a function like
(...args: any[]) => any;
The text was updated successfully, but these errors were encountered: