@carlsebastian/jsu 1.0.35 → 1.0.37
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/package.json +2 -1
- package/src/types/global.d.ts +16 -8
- package/tsconfig.json +14 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carlsebastian/jsu",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.37",
|
|
4
4
|
"description": "A ready-to-use JavaScripts custom utilities such as types validations, formats validations, formatter, and many more!",
|
|
5
5
|
"main": "./src/global.js",
|
|
6
6
|
"types": "./src/types/global.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
+
"tsconfig.json",
|
|
8
9
|
"src",
|
|
9
10
|
"src/types"
|
|
10
11
|
],
|
package/src/types/global.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
+
/// <reference types="./api/api.d.ts" />
|
|
2
|
+
/// <reference types="./api/element.d.ts" />
|
|
3
|
+
/// <reference types="./dom/dom.d.ts" />
|
|
4
|
+
/// <reference types="./custom/custom.d.ts" />
|
|
5
|
+
/// <reference types="./custom/error/error.d.ts" />
|
|
6
|
+
/// <reference types="./guards/guards.d.ts" />
|
|
7
|
+
/// <reference types="./primitives/primitives.d.ts" />
|
|
8
|
+
/// <reference types="./storage/storage.d.ts" />
|
|
9
|
+
|
|
1
10
|
declare global {
|
|
2
|
-
/**
|
|
3
|
-
* A collection of enhanced and custom utilities modules.
|
|
4
|
-
*/
|
|
5
11
|
readonly var Utils: EnhancedGlobalUtilsAPI;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
readonly var DOM: DomAPI;
|
|
13
|
+
readonly var Custom: CustomAPI;
|
|
14
|
+
readonly var ERROR: ErrorAPI;
|
|
15
|
+
readonly var Guards: GuardsAPI;
|
|
16
|
+
readonly var Primitives: PrimitivesAPI;
|
|
17
|
+
readonly var STORAGE: StorageAPI;
|
|
10
18
|
readonly var GetElementBy: DOMGetElementByAPI;
|
|
11
19
|
}
|
|
12
20
|
|
|
13
|
-
export { }
|
|
21
|
+
export { };
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"allowJs": true,
|
|
4
|
+
"checkJs": true,
|
|
5
|
+
"noCheck": true,
|
|
6
|
+
"noEmit": true,
|
|
7
|
+
"module": "nodenext",
|
|
8
|
+
"moduleResolution": "nodenext",
|
|
9
|
+
"target": "ESNext",
|
|
10
|
+
"strict": true,
|
|
11
|
+
"lib": ["DOM", "ESNext"]
|
|
12
|
+
},
|
|
13
|
+
"include": ["src", "src/types/**/*.d.ts"]
|
|
14
|
+
}
|