UNPKG

obsidian-dev-utils

Version:

This is the collection of useful functions that you can use for your Obsidian plugin development

14 lines (11 loc) 530 B
/** * @packageDocumentation * * This file defines the `i18next` type options for the `obsidian` module. */ import type { CustomTypeOptionsBase } from '../i18n/CustomTypeOptionsBase.cjs'; import type { DefaultPluginTypes } from '../i18n/DefaultTranslationsBase.cjs'; declare module 'i18next' { // eslint-disable-next-line @typescript-eslint/no-empty-object-type -- We need to use the empty object type, that's how `i18next` module works. interface CustomTypeOptions extends CustomTypeOptionsBase<DefaultPluginTypes> {} }