Closed nsteenbeek closed 3 years ago
executeAction using generic type for return. Update wiki example as well (no unknown needed anymore)
public static async executeAction<D>(actionName: string, data?: unknown, entityLogicalName?: string, id?: string): Promise<D> { if (entityLogicalName) { return this.executeBoundAction(actionName, data, entityLogicalName, id); } else { return this.executeUnboundAction(actionName, data); } }
Fixed in version 5.10.6
executeAction using generic type for return. Update wiki example as well (no unknown needed anymore)