I would like to have an interface (defined in a separate file) be accessible globally, how do I do this?
Here's my globals.d.ts file
import { Theme, Style } from './style/themes/theme.types'
declare global {
Theme
Style
}
This gives me an error
Statements are not allowed in ambient contexts.ts(1036)
'Theme' only refers to a type, but is being used as a value here.ts(2693)