File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ function baseCompile(
52
52
return { ...baseCompileCore ( message , options ) , detectError }
53
53
}
54
54
55
- export const compileToFunction = /* #__NO_SIDE_EFFECTS__ */ <
55
+ /* #__NO_SIDE_EFFECTS__ */
56
+ export const compileToFunction = <
56
57
Message = string ,
57
58
MessageSource = string | ResourceNode
58
59
> (
Original file line number Diff line number Diff line change @@ -414,14 +414,13 @@ export function registerLocaleFallbacker(fallbacker: LocaleFallbacker): void {
414
414
// Additional Meta for Intlify DevTools
415
415
let _additionalMeta : MetaInfo | null = /* #__PURE__*/ null
416
416
417
- export const setAdditionalMeta = /* #__NO_SIDE_EFFECTS__ */ (
418
- meta : MetaInfo | null
419
- ) : void => {
417
+ /* #__NO_SIDE_EFFECTS__ */
418
+ export const setAdditionalMeta = ( meta : MetaInfo | null ) : void => {
420
419
_additionalMeta = meta
421
420
}
422
421
423
- export const getAdditionalMeta =
424
- /* #__NO_SIDE_EFFECTS__ */ ( ) : MetaInfo | null => _additionalMeta
422
+ /* #__NO_SIDE_EFFECTS__ */
423
+ export const getAdditionalMeta = ( ) : MetaInfo | null => _additionalMeta
425
424
426
425
let _fallbackContext : CoreContext | null = null
427
426
Original file line number Diff line number Diff line change @@ -1779,7 +1779,8 @@ function defineCoreMissingHandler(missing: MissingHandler): CoreMissingHandler {
1779
1779
}
1780
1780
1781
1781
// for Intlify DevTools
1782
- const getMetaInfo = /* #__NO_SIDE_EFFECTS__ */ ( ) : MetaInfo | null => {
1782
+ /* #__NO_SIDE_EFFECTS__ */
1783
+ const getMetaInfo = ( ) : MetaInfo | null => {
1783
1784
const instance = getCurrentInstance ( )
1784
1785
let meta: any = null // eslint-disable-line @typescript-eslint/no-explicit-any
1785
1786
return instance && ( meta = getComponentOptions ( instance ) [ DEVTOOLS_META ] )
Original file line number Diff line number Diff line change @@ -950,7 +950,8 @@ export function useI18n<
950
950
*
951
951
* @VueI 18nGeneral
952
952
*/
953
- export const castToVueI18n = /* #__NO_SIDE_EFFECTS__ */ (
953
+ /* #__NO_SIDE_EFFECTS__ */
954
+ export const castToVueI18n = (
954
955
i18n : I18n
955
956
// eslint-disable-next-line @typescript-eslint/no-explicit-any
956
957
) : VueI18n & { install : ( Vue : any , options ?: any ) => void } => {
You can’t perform that action at this time.
0 commit comments