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(
5252 return { ...baseCompileCore ( message , options ) , detectError }
5353}
5454
55- export const compileToFunction = /* #__NO_SIDE_EFFECTS__ */ <
55+ /* #__NO_SIDE_EFFECTS__ */
56+ export const compileToFunction = <
5657 Message = string ,
5758 MessageSource = string | ResourceNode
5859> (
Original file line number Diff line number Diff line change @@ -414,14 +414,13 @@ export function registerLocaleFallbacker(fallbacker: LocaleFallbacker): void {
414414// Additional Meta for Intlify DevTools
415415let _additionalMeta : MetaInfo | null = /* #__PURE__*/ null
416416
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 => {
420419 _additionalMeta = meta
421420}
422421
423- export const getAdditionalMeta =
424- /* #__NO_SIDE_EFFECTS__ */ ( ) : MetaInfo | null => _additionalMeta
422+ /* #__NO_SIDE_EFFECTS__ */
423+ export const getAdditionalMeta = ( ) : MetaInfo | null => _additionalMeta
425424
426425let _fallbackContext : CoreContext | null = null
427426
Original file line number Diff line number Diff line change @@ -1779,7 +1779,8 @@ function defineCoreMissingHandler(missing: MissingHandler): CoreMissingHandler {
17791779}
17801780
17811781// for Intlify DevTools
1782- const getMetaInfo = /* #__NO_SIDE_EFFECTS__ */ ( ) : MetaInfo | null => {
1782+ /* #__NO_SIDE_EFFECTS__ */
1783+ const getMetaInfo = ( ) : MetaInfo | null => {
17831784 const instance = getCurrentInstance ( )
17841785 let meta: any = null // eslint-disable-line @typescript-eslint/no-explicit-any
17851786 return instance && ( meta = getComponentOptions ( instance ) [ DEVTOOLS_META ] )
Original file line number Diff line number Diff line change @@ -950,7 +950,8 @@ export function useI18n<
950950 *
951951 * @VueI 18nGeneral
952952 */
953- export const castToVueI18n = /* #__NO_SIDE_EFFECTS__ */ (
953+ /* #__NO_SIDE_EFFECTS__ */
954+ export const castToVueI18n = (
954955 i18n : I18n
955956 // eslint-disable-next-line @typescript-eslint/no-explicit-any
956957) : VueI18n & { install : ( Vue : any , options ?: any ) => void } => {
You can’t perform that action at this time.
0 commit comments