simplify ImportDeclaration type checker