@waline/client 2.0.0 → 2.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/waline.d.ts CHANGED
@@ -319,7 +319,7 @@ interface WalineInitOptions extends Omit<WalineProps, 'path'> {
319
319
  */
320
320
  path?: string;
321
321
  }
322
- declare type WalineAbort = (reson: any) => void;
322
+ declare type WalineAbort = (reason?: any) => void;
323
323
 
324
324
  declare const getMeta: (meta: WalineMeta[]) => WalineMeta[];
325
325
  declare const defaultLang = "zh-CN";
@@ -319,7 +319,7 @@ interface WalineInitOptions extends Omit<WalineProps, 'path'> {
319
319
  */
320
320
  path?: string;
321
321
  }
322
- declare type WalineAbort = (reson: any) => void;
322
+ declare type WalineAbort = (reason?: any) => void;
323
323
 
324
324
  declare const getMeta: (meta: WalineMeta[]) => WalineMeta[];
325
325
  declare const defaultLang = "zh-CN";