I am using the payload generated type in my frontend and I get this error:
Type error: Invalid module name in augmentation, module 'payload' cannot be found.
for the file which is generated using payload generate:types:
// rest of stuff
declare module 'payload' {
export interface GeneratedTypes extends Config {}
}
I dont want to delete this line every time I copy this file to my client side, is it possible to not output that?