@aurelia/runtime
Advanced tools
Comparing version 0.3.0-dev.20181025 to 0.3.0-dev.20181026
{ | ||
"name": "@aurelia/runtime", | ||
"version": "0.3.0-dev.20181025", | ||
"version": "0.3.0-dev.20181026", | ||
"main": "dist/index.umd.js", | ||
@@ -46,3 +46,3 @@ "module": "dist/index.es6.js", | ||
"dependencies": { | ||
"@aurelia/kernel": "^0.3.0-dev.20181025" | ||
"@aurelia/kernel": "^0.3.0-dev.20181026" | ||
}, | ||
@@ -83,3 +83,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "acf6a8f8feb6a3d128572a56f03e8099788beb99" | ||
"gitHead": "a0478483d64f14d6c1aa216cffaffaa043511669" | ||
} |
@@ -218,3 +218,3 @@ import { Immutable, Reporter } from '@aurelia/kernel'; | ||
if (this[strategyName] === undefined) { | ||
const strategy = this.context.get(RenderStrategyResource.keyFrom(strategyName)) as IRenderStrategy; | ||
const strategy = this.context.get<IRenderStrategy>(RenderStrategyResource.keyFrom(strategyName)); | ||
if (strategy === null || strategy === undefined) { | ||
@@ -221,0 +221,0 @@ throw new Error(`Unknown renderStrategy "${strategyName}"`); |
@@ -193,3 +193,3 @@ import { all, DI, IContainer, IDisposable, Immutable, ImmutableArray, inject, IResolver, IServiceLocator, PLATFORM, Reporter, Writable } from '@aurelia/kernel'; | ||
if (this.context.has(key, false)) { | ||
return this.context.get(key) || null; | ||
return this.context.get<any>(key) || null; | ||
} | ||
@@ -196,0 +196,0 @@ return null; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2502601