import '@emotion/react'; import '@emotion/native'; import type { Theme as WorkTheme } from './theme'; // Augment the emotion theme for both @emotion/react and @emotion/native declare module '@emotion/react' { // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface Theme extends WorkTheme {} } // This should make styled components automatically get the Theme type declare module '@emotion/native' { // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface Theme extends WorkTheme {} }