import type * as ts from 'typescript' ; import { Scope } from '../../scope/scope' ; import { GetDescriptor } from '../descriptor' ; import { GetTypeImport , ImportNode } from '../type/typeImport' ; export function GetImportDescriptor ( node , scope ) { const type = GetTypeImport ( node ) ; return GetDescriptor ( type , scope ) ; }