fix(metadata): fix typechecking with typescript@next

This commit is contained in:
Alex Eagle 2016-07-25 15:27:09 -07:00
parent 9b39e499ac
commit 0a46f37444
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export class Symbols {
private get symbols(): Map<string, MetadataValue> {
let result = this._symbols;
if (!result) {
result = this._symbols = new Map();
result = this._symbols = new Map<string, MetadataValue>();
populateBuiltins(result);
this.buildImports();
}
@ -110,4 +110,4 @@ function populateBuiltins(symbols: Map<string, MetadataValue>) {
'Uint8ClampedArray', 'Uint16Array', 'Int16Array', 'Int32Array', 'Uint32Array', 'Float32Array',
'Float64Array']
.forEach(name => symbols.set(name, {__symbolic: 'reference', name}));
}
}