for example:
interface X {
a: string
}
interface Y {
X: X
}
class X implements X {
public a: string = ""
}
const Y: Y = {
X // <-----
}
found that the X attribute reported an error when defining Y, and could not assign type "typeof X" to type "X". The attribute "a" is missing in type "typeof X".