| Index: web/inc/luci-operation/operation.ts
|
| diff --git a/web/inc/luci-operation/operation.ts b/web/inc/luci-operation/operation.ts
|
| index be383cb56a91b3507a5536f5843282ed9f9d48d9..82e2101bebf3330d1c91b64b768b141c295d71fa 100644
|
| --- a/web/inc/luci-operation/operation.ts
|
| +++ b/web/inc/luci-operation/operation.ts
|
| @@ -32,7 +32,7 @@ namespace luci {
|
| * will throw a CANCELLED error if this Operation has been cancelled.
|
| */
|
| async wrap<T>(p: Promise<T>) {
|
| - return new Promise((resolve, reject) => {
|
| + return new Promise<T>((resolve, reject) => {
|
| p.then(
|
| result => {
|
| this.assert();
|
|
|