interface a {
d: {[key: string]: string}
}
class a {
d = {}
}
The error message returned is as follows:
Subsequent property declarations must have the same type. Property 'd' must be of type '{ [key: string]: string; }', but here has type '{}'
let v: {[key: string]: string} = {}
No warning or error is raised for this declaration
What am I overlooking?