core-plugin-api: fix TranslationResource loader result type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ export interface InternalTranslationResource<TId extends string = string>
|
||||
version: 'v1';
|
||||
resources: Array<{
|
||||
language: string;
|
||||
loader(): Promise<{ messages: TranslationMessages<TId> }>;
|
||||
loader(): Promise<{ messages: { [key in string]: string | null } }>;
|
||||
}>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user