Vue-instantsearch issue

Hello!
I’m trying to follow this example:

but when I call
import algoliasearch from ‘algoliasearch/lite’;
in typescript I get this error:
TS1192: Module ‘"/Users/…/node_modules/@types/algoliasearch/lite/index"’ has no default export.

Any advice would be helpful.
Thank you

This worked
import * as algoliasearch from 'algoliasearch/lite';

Actually the final solution was to replace the type definition in node_modules/@types/algoliasearch/lite/index.d.ts
from this

declare function algoliasearch(
  applicationId: string,
  apiKey: string,
  options?: algoliasearch.ClientOptions
): algoliasearch.Client;
export = algoliasearch;

to this

declare module "algoliasearch/lite" {
  declare function algoliasearch(
    applicationId: string,
    apiKey: string,
    options?: algoliasearch.ClientOptions
  ): algoliasearch.Client;
  export default algoliasearch;
}