fix(KT-43191): add static qualifier for Companion and non-inner objects.
This commit is contained in:
@@ -51,7 +51,7 @@ declare namespace JS_TESTS {
|
||||
function takesO(o: typeof foo.O): number;
|
||||
class KT_37829 {
|
||||
constructor();
|
||||
readonly Companion: {
|
||||
static readonly Companion: {
|
||||
readonly x: number;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ declare namespace JS_TESTS {
|
||||
constructor();
|
||||
protected readonly protectedVal: number;
|
||||
protected protectedFun(): number;
|
||||
protected readonly protectedNestedObject: {
|
||||
protected static readonly protectedNestedObject: {
|
||||
};
|
||||
protected readonly Companion: {
|
||||
protected static readonly Companion: {
|
||||
readonly companionObjectProp: number;
|
||||
};
|
||||
readonly publicVal: number;
|
||||
|
||||
Reference in New Issue
Block a user