提交 4748253f 编写于 作者: P Piotr Bryk

Merge pull request #486 from floreks/ie-test-fix

Fixed issue with unit test fail on IE
......@@ -23,9 +23,10 @@ export class TypeFactory {
*/
constructor() {
/** @private {Map<Array<string, !./type.Type>>} */
this.typeMap_ = new Map([
['integer', new IntegerType()],
]);
this.typeMap_ = new Map();
// Initialize map with supported types
this.typeMap_.set('integer', new IntegerType());
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册