feat: setup i18next
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m27s
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m27s
This commit is contained in:
9
src/i18next.d.ts
vendored
Normal file
9
src/i18next.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import "i18next";
|
||||
|
||||
import type { resources } from "../public/locales/en.d.ts";
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
resources: { translation: typeof resources };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user