mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 修复plugin-locale类型问题
This commit is contained in:
parent
31e954e322
commit
b885fafae6
@ -12,7 +12,7 @@
|
||||
"dev": "node scripts/build.mjs --watch",
|
||||
"build": "node scripts/build.mjs",
|
||||
"release": "node scripts/release.mjs",
|
||||
"clean": "rm pnpm-lock.yaml & rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
|
||||
"clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
|
||||
"docs:dev": "vuepress dev docs --clean-cache",
|
||||
"docs:build": "vuepress build docs --clean-cache",
|
||||
"test": "fes test",
|
||||
|
3
packages/fes-plugin-locale/types.d.ts
vendored
3
packages/fes-plugin-locale/types.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
import '@fesjs/fes';
|
||||
export { useI18n } from 'vue-i18n'
|
||||
|
||||
export const locale: {
|
||||
setLocale({ locale }: { locale: string }): void;
|
||||
@ -6,6 +6,7 @@ export const locale: {
|
||||
getAllLocales(): string[];
|
||||
messages: Record<string, object>;
|
||||
};
|
||||
|
||||
declare module '@fesjs/fes' {
|
||||
interface PluginBuildConfig {
|
||||
locale?:
|
||||
|
7543
pnpm-lock.yaml
generated
7543
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user