Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: web/inc/luci-operation/operation.ts

Issue 2969643003: [web] Update packages, use TS 2.4 (Closed)
Patch Set: [web] Update packages, use TS 2.4 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « web/inc/logdog-stream-view/model.ts ('k') | web/package.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « web/inc/logdog-stream-view/model.ts ('k') | web/package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698