You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the typescript compiler are you using that lets you write these?
interface integer extends number {}
class FooClass extends BarClass, BazClass implements QuxInterface { }
In tsc 1.5.* and 1.6.2, and if I remember correctly even some version of 1.4, neither of those compile. The errors given by tsc 1.6.2 are:
Error:(6, 23) TS2304: Cannot find name 'number'.
Error:(9, 35) TS1174: Classes can only extend a single class.
The text was updated successfully, but these errors were encountered:
Um, the readme on NPM is indeed not up to date (it should be correct on the github page).
That said, I don't actively maintain this project as it was mainly an experiment. If I recall correctly I tested with TypeScript 1.2, but not more recent version.
@jeremyfa this is a lovely experiment, I am going to need this in a project and I am wondering if you could add support for recent version of TS and Haxe?
What version of the typescript compiler are you using that lets you write these?
In tsc 1.5.* and 1.6.2, and if I remember correctly even some version of 1.4, neither of those compile. The errors given by tsc 1.6.2 are:
Error:(6, 23) TS2304: Cannot find name 'number'.
Error:(9, 35) TS1174: Classes can only extend a single class.
The text was updated successfully, but these errors were encountered: