@yxw007/translate 0.0.1-alpha.2 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -488,7 +488,7 @@ declare class Translator {
488
488
  private engines;
489
489
  constructor();
490
490
  use(engine: Engine): void;
491
- translate(text: string | string[], options: TranslateOptions): Promise<string[]>;
491
+ translate(text: string | string[], options: TranslateOptions): unknown;
492
492
  }
493
493
  declare const translator: Translator;
494
494
  declare const _default: {