nightly build August 5, 2016
function noUnnecessaryTypeAnnotations(node: ts.Node, checker: ts.TypeChecker): Issue | void {
if (isVariableDeclaration(node)) {
if (node.initializer !== undefined && node.type !== undefined) {
node.initializer; // <-- expected: Expression; actual: Expression | undefined
}
}
}