@tarojs/taro-h5 3.6.25 → 3.6.26-alpha.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.
@@ -363,8 +363,8 @@ declare function onLocationChange(callback: Taro.onLocationChange.Callback): voi
363
363
  declare function offLocationChange(callback: Taro.onLocationChange.Callback): void;
364
364
  declare function onLocationChangeError(callback: Taro.onLocationChange.Callback): void;
365
365
  declare function offLocationChangeError(callback: Taro.onLocationChange.Callback): void;
366
- declare const stopLocationUpdate: (options?: Partial<import("taro/types").stopLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
367
- declare const startLocationUpdate: (options?: Partial<import("taro/types").startLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
366
+ declare const stopLocationUpdate: (options?: Partial<import("@tarojs/taro").stopLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
367
+ declare const startLocationUpdate: (options?: Partial<import("@tarojs/taro").startLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
368
368
  // 音频
369
369
  declare const stopVoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
370
370
  declare const setInnerAudioOption: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
package/dist/index.esm.js CHANGED
@@ -145,7 +145,7 @@ function findDOM(inst) {
145
145
  }
146
146
  const page = Current$1.page;
147
147
  const path = page === null || page === void 0 ? void 0 : page.path;
148
- const msg = '没有找到已经加载了的页面,请在页面加载完成后时候此 API。';
148
+ const msg = '没有找到已经加载了的页面,请在页面加载完成后使用此 API。';
149
149
  if (path == null) {
150
150
  throw new Error(msg);
151
151
  }