@waline/client 2.1.2 → 2.2.0

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/legacy.d.ts CHANGED
@@ -317,7 +317,7 @@ interface WalineInstance {
317
317
  *
318
318
  * @description when not setting `path` option, it will be reset to `window.location.pathname`
319
319
  */
320
- update: (newOptions: Partial<Omit<WalineInitOptions, 'el'>>) => void;
320
+ update: (newOptions?: Partial<Omit<WalineInitOptions, 'el'>>) => void;
321
321
  /**
322
322
  * 取消挂载并摧毁 Waline 实例
323
323
  *