import ts from 'typescript' ; export function getArrayType ( typeChecker ) { const typeCheckerAny = typeChecker ; const arraySymbol = typeCheckerAny . createArrayType ( typeCheckerAny . getAnyType ( ) ) . symbol ; return typeChecker . getDeclaredTypeOfSymbol ( arraySymbol ) ; }