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