TypeScript Version: 2.0
relevant config: {"noImplicitAny": true}
Code
class VerticalNav extends React.Component <any, IVerticalNavState> {
constructor(props) {
super(props);
this.state = {closed: false}
}
}
Expected behavior:
No type errors thrown.
Actual behavior:
error TS7006: Parameter 'props' implicitly has an 'any' type.
This error should not be thrown because props has explicitly been set to type: any;
TypeScript Version: 2.0
relevant config: {"noImplicitAny": true}
Code
Expected behavior:
No type errors thrown.
Actual behavior:
error TS7006: Parameter 'props' implicitly has an 'any' type.This error should not be thrown because props has explicitly been set to type:
any;