visitors.js
function visitTypedVariableDeclarator(traverse, node, path, state) {
  var ctx = new Context(state);
  if (node.init) {
    utils.catchup(node.init.range[0], state);
    utils.append(ctx.getProperty('check') + '(', state);
    traverse(node.init, path, state);
    utils.catchup(node.init.range[1], state);
    utils.append(', ' + ctx.getType(node.id.typeAnnotation.typeAnnotation) + ')', state);
  }
  utils.catchup(node.range[1], state);
  return false;
}
function visitTypedVariableDeclarator(traverse, node, path, state) {
  var ctx = new Context(state);
  if (node.init) {
    utils.catchup(node.init.range[0], state);
    utils.append(ctx.getProperty('check') + '(', state);
    traverse(node.init, path, state);
    utils.catchup(node.init.range[1], state);
    utils.append(', ' + ctx.getType(node.id.typeAnnotation.typeAnnotation) + ')', state);
  }
  utils.catchup(node.range[1], state);
  return false;
}
function visitTypedVariableDeclarator ( traverse , node , path , state ) { var ctx = new Context ( state ) ; if ( node . init ) { utils . catchup ( node . init . range [ 0 ] , state ) ; utils . append ( ctx . getProperty ( 'check' ) + '(' , state ) ; traverse ( node . init , path , state ) ; utils . catchup ( node . init . range [ 1 ] , state ) ; utils . append ( ', ' + ctx . getType ( node . id . typeAnnotation . typeAnnotation ) + ')' , state ) ; } utils . catchup ( node . range [ 1 ] , state ) ; return false ; }
handle variable declarations
handle variable declarations