elsassph / hxtsdgen

TypeScript declaration file generator for Haxe JavaScript output target
65 stars 12 forks source link

protected constructors #30

Open cancerberoSgx opened 5 years ago

cancerberoSgx commented 5 years ago

No matter if explicitly declaring a single constructor private, haxe will allow extensions while TypeScript won't . So constructors should never be declared private. Concretely this is broken from core haxe:

export namespace haxe.io {
    export class BytesInput extends Input {    <-- BytesInput doesn't declare constructors 

I fixed the issue https://github.com/nadako/hxtsdgen/pull/29

(still I broke travis - WIP)