@uiw/react-amap-api-loader
Advanced tools
Comparing version 2.7.13 to 2.7.14
@@ -1,3 +0,3 @@ | ||
import React, { Component } from 'react'; | ||
export interface APILoaderConfig { | ||
import React, { Component, PropsWithChildren } from 'react'; | ||
export declare type APILoaderConfig = PropsWithChildren<{ | ||
/** | ||
@@ -37,7 +37,3 @@ * akay 密钥 | ||
plugin?: string; | ||
/** | ||
* 子元素 | ||
*/ | ||
children?: React.ReactNode; | ||
} | ||
}>; | ||
export declare function delay(time: number): Promise<undefined>; | ||
@@ -44,0 +40,0 @@ export interface APILoaderProps extends APILoaderConfig { |
@@ -1,3 +0,3 @@ | ||
import React, { Component } from 'react'; | ||
export interface APILoaderConfig { | ||
import React, { Component, PropsWithChildren } from 'react'; | ||
export declare type APILoaderConfig = PropsWithChildren<{ | ||
/** | ||
@@ -37,7 +37,3 @@ * akay 密钥 | ||
plugin?: string; | ||
/** | ||
* 子元素 | ||
*/ | ||
children?: React.ReactNode; | ||
} | ||
}>; | ||
export declare function delay(time: number): Promise<undefined>; | ||
@@ -44,0 +40,0 @@ export interface APILoaderProps extends APILoaderConfig { |
{ | ||
"name": "@uiw/react-amap-api-loader", | ||
"version": "2.7.13", | ||
"version": "2.7.14", | ||
"description": "用于加载高德地图 SDK 依赖,加载完成,全局将会有 **`window.AMap`** 对象。", | ||
@@ -36,4 +36,4 @@ "homepage": "https://uiwjs.github.io/react-amap/#/api-loader", | ||
"dependencies": { | ||
"@uiw/react-amap-require-script": "2.7.13", | ||
"@uiw/react-amap-types": "2.7.13" | ||
"@uiw/react-amap-require-script": "2.7.14", | ||
"@uiw/react-amap-types": "2.7.14" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41350
663
+ Added@uiw/react-amap-require-script@2.7.14(transitive)
+ Added@uiw/react-amap-types@2.7.14(transitive)
- Removed@uiw/react-amap-require-script@2.7.13(transitive)
- Removed@uiw/react-amap-types@2.7.13(transitive)
Updated@uiw/react-amap-types@2.7.14