adding typings to autocompleteparams