203 export declare type WithoutCredentials<TClient> = Omit<TClient, 'appId' | 'apiKey'> How to resolve this issue?

Here is the complete error message:
ERROR in node_modules/algoliasearch/dist/algoliasearch.d.ts:203:51 - error TS2304: Cannot find name ‘Omit’.
[ng] 203 export declare type WithoutCredentials = Omit<TClient, ‘appId’ | ‘apiKey’>;

Hi Harsha!

This error message is not related to Algolia but to TS directly. Unfortunately we can’t help you more on this problem.

Hope you’ll find a way to fix your issue!

1 Like

Thanks for the reply

No, this is related to algolia for sure. My project has so many plugins, i am getting this error only with algolia. Its been more than 10 hours fiddling with this