import type * as ts from 'typescript' ; import { Scope } from '../../scope/scope' ; import { GetDescriptor } from '../descriptor' ; import { TypescriptHelper } from '../helper/helper' ; export function GetImportEqualsDescriptor ( node , scope ) { const declaration = TypescriptHelper . GetDeclarationFromNode ( node . moduleReference ) ; return GetDescriptor ( declaration , scope ) ; }