export interface VehicleElement {
truck: Promise<Int32Array>;
}
issue: The class "VehicleResult" fails to properly implement interface "Promise".
Type "VehicleResult" is lacking the necessary properties from type "Promise": then, catch, finally, [Symbol.toStringTag] ts(2420)
class VehicleResult implements Promise<VehicleElement>{
truck:Int32Array = new Int32Array;
}
What steps should I take to resolve this issue?