test: generic classes exportability.
This commit is contained in:
@@ -49,6 +49,11 @@ declare namespace JS_TESTS {
|
|||||||
get _varCustomWithField(): number;
|
get _varCustomWithField(): number;
|
||||||
set _varCustomWithField(value: number);
|
set _varCustomWithField(value: number);
|
||||||
}
|
}
|
||||||
|
class A5<T> {
|
||||||
|
constructor(value: T);
|
||||||
|
get value(): T;
|
||||||
|
test(): T;
|
||||||
|
}
|
||||||
const O0: {
|
const O0: {
|
||||||
};
|
};
|
||||||
const O: {
|
const O: {
|
||||||
|
|||||||
@@ -123,6 +123,10 @@ class A4 {
|
|||||||
set(value) { field = value * 10 }
|
set(value) { field = value * 10 }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JsExport
|
||||||
|
class A5<T>(val value: T) {
|
||||||
|
fun test(): T = value
|
||||||
|
}
|
||||||
|
|
||||||
@JsExport
|
@JsExport
|
||||||
object O0
|
object O0
|
||||||
|
|||||||
Reference in New Issue
Block a user