build: upgrade to TypeScript 2.6 (#21144)

Fixes #20653

PR Close #21144
This commit is contained in:
Chuck Jazdzewski
2017-12-22 09:36:47 -08:00
committed by Igor Minar
parent 83c1383701
commit 83d207d0a7
45 changed files with 331 additions and 215 deletions

View File

@ -276,6 +276,7 @@ export abstract class AssetGroup {
const cache = await this.cache;
// Start with the set of all cached URLs.
return (await cache.keys())
.map(request => request.url)
// Exclude the URLs which have hashes.
.filter(url => !this.hashes.has(url));
}
@ -608,4 +609,4 @@ export class LazyAssetGroup extends AssetGroup {
}
}, Promise.resolve());
}
}
}