Provide TypeScript autocompletion source for asyncomplete.vim via tscompletejob. Internally tscompletejob uses tsserver
asyncomplete-tscompletejob works on Vim8+ and Neovim.
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'runoshun/tscompletejob'
Plug 'prabirshrestha/asyncomplete-tscompletejob.vim'
call asyncomplete#register_source(asyncomplete#sources#tscompletejob#get_source_options({
\ 'name': 'tscompletejob',
\ 'allowlist': ['typescript'],
\ 'completor': function('asyncomplete#sources#tscompletejob#completor'),
\ }))