Closed
Description
TypeScript Version: 3.6.3 / 3.7.0-dev.20191021
Search Terms: type check, no error, large object
Code
interface A {
b: B[];
}
interface B {
c: C;
}
interface C {
d: D[];
}
interface D {
e: E[];
}
interface E {
f: F[];
}
interface F {
g: G;
}
interface G {
h: H[];
}
interface H {
i: string;
}
const x: A = {
b: [
{
c: {
d: [
{
e: [
{
f: [
{
g: {
h: [
{
// intellisense still works, but type check fails here
// i: '',
},
],
},
},
],
},
],
},
],
},
},
],
};
Expected behavior:
Reporting error as property i
is missing.
Actual behavior:
No error.