genes icon indicating copy to clipboard operation
genes copied to clipboard

Incorrect dts for parametrized static var in abstract

Open kevinresol opened this issue 3 years ago • 0 comments

abstract Foo<T>(Int) {
  public static final INST: Foo<String> = null;
}

generated:

export declare class Foo_Impl_ {
	static INST: <T>number
}

Note the extraneous <T> before number is invalid syntax

kevinresol avatar Jun 22 '21 03:06 kevinresol