test: generic classes exportability.

This commit is contained in:
Artem Kobzar
2022-05-04 11:25:34 +00:00
committed by Space
parent 729e24d053
commit e1dd8d3868
2 changed files with 9 additions and 0 deletions
@@ -49,6 +49,11 @@ declare namespace JS_TESTS {
get _varCustomWithField(): number;
set _varCustomWithField(value: number);
}
class A5<T> {
constructor(value: T);
get value(): T;
test(): T;
}
const O0: {
};
const O: {
@@ -123,6 +123,10 @@ class A4 {
set(value) { field = value * 10 }
}
@JsExport
class A5<T>(val value: T) {
fun test(): T = value
}
@JsExport
object O0