In building an interface for delivering strings in an i18n application:
interface ILocaleStringsProvider {
'foo': string
'bar': string
'baz': string
'blablabla': string
// numerous other string properties included...
}
I want to avoid the repetition of : string
multiple times.
Is there a method to collectively define the type for all properties?