I'm working on a React Native project that is mostly done in javascript and has several styled components in a baseCSS.js file
We are progressively trying to migrate to typescript and type the javascript components as they are being used in typescript files, so my intention was to add the typing for these styled components in a baseCSS.d.ts file one by one until they are all typed, but I don't know how to type Styled Components in a separate file
I managed to type using JSDocs in the same file, but I don't know how to translate that into a .d.ts file
export const Box = /** @type {import('styled-components').ThemedStyledFunction<typeof View, BoxProps>} */ (styled.View)`