This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
TypeScript 2.9 support #1104
Closed
Description
Zone JS doesn't compile with TypeScript 2.9:
v0_8_16/lib/browser/define-property.ts:24:70 - error TS2469: The '+' operator cannot be applied to type 'symbol'.
24 throw new TypeError('Cannot assign to read only property \'' + prop + '\' of ' + obj);
~~~~
v0_8_16/lib/browser/define-property.ts:28:37 - error TS2345: Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
Type 'number' is not assignable to type 'string'.
28 desc = rewriteDescriptor(obj, prop, desc);
~~~~
v0_8_16/lib/browser/define-property.ts:30:36 - error TS2345: Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
Type 'number' is not assignable to type 'string'.
30 return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);
~~~~
Metadata
Metadata
Assignees
Labels
No labels