Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts code in readme.md that doesn't compile #6

Open
DustinWehr opened this issue Dec 5, 2015 · 4 comments
Open

ts code in readme.md that doesn't compile #6

DustinWehr opened this issue Dec 5, 2015 · 4 comments

Comments

@DustinWehr
Copy link

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.

@jeremyfa
Copy link
Owner

jeremyfa commented Dec 5, 2015

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.

@darmie
Copy link

darmie commented Jul 8, 2017

@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?

@jeremyfa
Copy link
Owner

jeremyfa commented Jul 8, 2017

As stated in the readme, I don't maintain this library for a while already.

@darmie
Copy link

darmie commented Jul 26, 2017

Ok seen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants