Skip to content

Commit

Permalink
fix: export translation module config (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobzio authored Oct 8, 2024
1 parent 9c31557 commit 8e2dd06
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { initializeCli } from './cli/cli';
import { plaintranslate } from './core/translator';
import { fileTranslator } from './core/json_file';
import { objectTranslator } from './core/json_object';
import { TranslationConfig, TranslationModules } from './modules/modules';
import {
TranslationConfig,
TranslationModules,
TranslationModule,
} from './modules/modules';
import { default_concurrency_limit, default_fallback } from './utils/micro';

const defaults: TranslationConfig = {
Expand Down Expand Up @@ -48,3 +52,7 @@ export async function runCli() {
export interface translatedObject {
[key: string]: any;
}

export { TranslationModules };

export type { TranslationConfig, TranslationModule };

Check failure on line 58 in src/index.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node 16.x and ubuntu-latest

Parsing error: Declaration or statement expected

0 comments on commit 8e2dd06

Please sign in to comment.