File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ declare type NumberFormats = { [key: Locale]: NumberFormat };
48
48
declare type TranslateResult = string | LocaleMessages ;
49
49
declare type DateTimeFormatResult = string ;
50
50
declare type NumberFormatResult = string ;
51
- declare type MissingHandler = ( locale : Locale , key : Path , vm ? : any ) => void ;
51
+ declare type MissingHandler = ( locale : Locale , key : Path , vm ? : any ) => string | void ;
52
52
53
53
declare type I18nOptions = {
54
54
locale ?: Locale ,
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ declare namespace VueI18n {
49
49
interpolate ( message : string , values ?: Values ) : any [ ] ;
50
50
}
51
51
52
- type MissingHandler = ( locale : Locale , key : Path , vm ?: Vue ) => void ;
52
+ type MissingHandler = ( locale : Locale , key : Path , vm ?: Vue ) => string | void ;
53
53
54
54
interface IntlAvailability {
55
55
dateTimeFormat : boolean ;
You can’t perform that action at this time.
0 commit comments