Skip to content
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

Description

@mprobst

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);
~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions