mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-04 14:17:55 +01:00
fix(defineLocale/defineShortcuts): remove @__NO_SIDE_EFFECTS__
This commit is contained in:
@@ -8,7 +8,6 @@ interface DefineLocaleOptions<M> {
|
|||||||
messages: M
|
messages: M
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @__NO_SIDE_EFFECTS__ */
|
|
||||||
export function defineLocale<M>(options: DefineLocaleOptions<M>): Locale<M> {
|
export function defineLocale<M>(options: DefineLocaleOptions<M>): Locale<M> {
|
||||||
return defu<DefineLocaleOptions<M>, [{ dir: Direction }]>(options, { dir: 'ltr' })
|
return defu<DefineLocaleOptions<M>, [{ dir: Direction }]>(options, { dir: 'ltr' })
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ export function extractShortcuts(items: any[] | any[][]) {
|
|||||||
return shortcuts
|
return shortcuts
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @__NO_SIDE_EFFECTS__ */
|
|
||||||
export function defineShortcuts(config: MaybeRef<ShortcutsConfig>, options: ShortcutsOptions = {}) {
|
export function defineShortcuts(config: MaybeRef<ShortcutsConfig>, options: ShortcutsOptions = {}) {
|
||||||
const chainedInputs = ref<string[]>([])
|
const chainedInputs = ref<string[]>([])
|
||||||
const clearChainedInput = () => {
|
const clearChainedInput = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user