You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are shipping types in the 'types.d.ts' where it has a reference to 'type-fest':
import type { Spread } from 'type-fest';
However, that's never installed when you just install 'got' as it's registered as a devDependency, thus it's not installed by default. Now I'm currently still on an outdated eslint version (v9 causes some issues) and that depends on globals, which depends on type-fest 0.xxx (outdated version) and that leads to the error i'm getting:
node_modules/got/dist/source/types.d.ts:3:15 - error TS2305: Module '"type-fest"' has no exported member 'Spread'.
3 import type { Spread } from 'type-fest';
Found 1 error in node_modules/got/dist/source/types.d.ts:3
Any way you can update it so it's not using types from another package or any suggestions?
The text was updated successfully, but these errors were encountered:
You are shipping types in the 'types.d.ts' where it has a reference to 'type-fest':
import type { Spread } from 'type-fest';
However, that's never installed when you just install 'got' as it's registered as a devDependency, thus it's not installed by default. Now I'm currently still on an outdated eslint version (v9 causes some issues) and that depends on globals, which depends on type-fest 0.xxx (outdated version) and that leads to the error i'm getting:
Any way you can update it so it's not using types from another package or any suggestions?
The text was updated successfully, but these errors were encountered: