@hylid/types 4.0.0-alpha.11 → 4.0.0-alpha.13

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.
Files changed (2) hide show
  1. package/lib/mp.d.ts +3 -1
  2. package/package.json +1 -1
package/lib/mp.d.ts CHANGED
@@ -185,8 +185,10 @@ export interface MPApi extends Omit<MiniprogramApi, 'request'> {
185
185
  ext: string;
186
186
  }>) => void;
187
187
  popWindow: () => void;
188
- setTransparentTitle: (args: AsyncCallback<{
188
+ setTransparentTitle: (args: {
189
189
  transparentTitle: 'none' | 'auto' | 'always' | 'custom';
190
+ } & AsyncCallback<{
191
+ success: boolean;
190
192
  }>) => void;
191
193
  getLocation: (args: {
192
194
  bizType?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hylid/types",
3
- "version": "4.0.0-alpha.11",
3
+ "version": "4.0.0-alpha.13",
4
4
  "main": "lib/index.js",
5
5
  "files": [
6
6
  "lib",