Skip to content

Commit e1ccc82

Browse files
BobaFataleRyan Johnson
authored andcommitted
update definition for onMissingTranslationFunction (#157)
1 parent 82d8a9d commit e1ccc82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type MissingTranslationOptions = {
3535

3636
export type onMissingTranslationFunction = (
3737
options: MissingTranslationOptions
38-
) => string;
38+
) => string | LocalizedElement;
3939

4040
type renderToStaticMarkupFunction = (element: any) => string;
4141

0 commit comments

Comments
 (0)