tg-map-vue3 3.6.7 → 3.6.8
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/src/utils/strings.d.ts +9 -0
- package/dist/tg-map.js +405 -397
- package/dist/tg-map.js.map +1 -1
- package/dist/tg-map.umd.cjs +6 -6
- package/dist/tg-map.umd.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,15 @@ export declare namespace Strings {
|
|
|
9
9
|
function trimIndent(str: string): string;
|
|
10
10
|
/** 转换: `FuckYou` -> `fuck-you` */
|
|
11
11
|
function pascal2kebab(str: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* 简单判断字符串是否表示一个整数
|
|
14
|
+
* - `10` : ✅️
|
|
15
|
+
* - `-10`: ✅️
|
|
16
|
+
* - `+10`: ❌️
|
|
17
|
+
* - `2e2`: ❌️
|
|
18
|
+
* @see https://stackoverflow.com/questions/175739/how-can-i-check-if-a-string-is-a-valid-number
|
|
19
|
+
* */
|
|
20
|
+
function isInt(str: string): boolean;
|
|
12
21
|
}
|
|
13
22
|
/** @see https://github.com/browserify/path-browserify */
|
|
14
23
|
export declare const path: {
|