import { TSLanguageService } from './TSLanguageService' ; const init = ( modules ) => { const _ts = modules . typescript ; let tsLanguageService = null ; /**
     * Returns a cached version of the TSLS.
     * Useful if other global or local plugins modify it.
     */ const getTypeScriptLanguageService = ( ) : ts . LanguageService => tsLanguageService ; const create = ( info ) : TSLanguageService => { tsLanguageService = info . languageService ; return { ... info . languageService , getTypeScriptLanguageService } ; } ; return { create } ; } ; export = init ;