-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing code
Milestone
Description
TypeScript Version: 2.0.3
Expected behavior:
I expected that the upgrade from version 2.0.2 to version 2.0.3 should not cause problems as backward compatibility should be maintained. I expected that my code that compiles without errors in version 2.0.2 will be as error-free kompilirovatsya to version 2.0.3.
Actual behavior:
In version 2.0.2 the compilation succeeds. With version 2.0.3 get three errors:
ERROR in ../components/dialogs-page/Dialog.class.ts
(7,14): error TS2420: Class 'Dialog' incorrectly implements interface 'IDialog'.
Types of property 'type' are incompatible.
Type 'DialogType' is not assignable to type 'DialogType'.
ERROR in ./Background/BgClass.ts
(84,7): error TS2365: Operator '===' cannot be applied to types 'AudioOptionStatus' and 'AudioOptionStatus'.
ERROR in ./Background/BgClass.ts
(86,7): error TS2365: Operator '===' cannot be applied to types 'AudioOptionStatus' and 'AudioOptionStatus'.
Metadata
Metadata
Assignees
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing code