Skip to content

@i18n-micro/types-generator

7 exports across 2 entry points. Generated from the API snapshot that pnpm run api:surface checks against the TypeScript sources.

@i18n-micro/types-generator

ts
import { /* … */ } from '@i18n-micro/types-generator'
ExportKindSignature
flattenKeysfunction(obj: Record<string, unknown>, prefix?: string) => string[]
generateTypesfunction(options: GeneratorOptions) => Promise<string>
GeneratorOptionsinterface3 members
getTypesStringfunction(options: GeneratorOptions) => Promise<string>
I18nTypesPluginconstimport("unplugin/dist/index").UnpluginInstance<GeneratorOptions, boolean>
GeneratorOptions — 3 members
MemberType
outputFile?string | undefined
srcDirstring
translationDirstring
## `@i18n-micro/types-generator/nuxt`
ts
import { /* … */ } from '@i18n-micro/types-generator/nuxt'
ExportKindSignature
defaultvalueimport("@nuxt/schema/dist/index").NuxtModule<I18nTypesGeneratorOptions, I18nTypesGeneratorOptions, false>
I18nTypesGeneratorOptionsinterface2 members
I18nTypesGeneratorOptions — 2 members
MemberType
outputFile?string | undefined
translationDir?string | undefined

Back to all packages · Integration guides

Released under the MIT License.