@xylabs/static-implements 4.13.20 → 4.13.22

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/README.md +54 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -12,13 +12,64 @@
12
12
  [![snyk-badge][]][snyk-link]
13
13
  [![socket-badge][]][socket-link]
14
14
 
15
- Version: 4.13.19
16
15
 
17
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
18
17
 
19
- ## Documentation
18
+ ## Reference
19
+
20
+ **@xylabs/static-implements**
21
+
22
+ ***
23
+
24
+ ## Functions
25
+
26
+ - [staticImplements](#functions/staticImplements)
27
+
28
+ ### functions
29
+
30
+ ### <a id="staticImplements"></a>staticImplements
31
+
32
+ [**@xylabs/static-implements**](#../README)
33
+
34
+ ***
35
+
36
+ ```ts
37
+ function staticImplements<T>(): <U>(constructor) => void;
38
+ ```
39
+
40
+ Annotation to decorate classes which implement static methods
41
+
42
+ ## Type Parameters
43
+
44
+ ### T
45
+
46
+ `T`
47
+
48
+ ## Returns
49
+
50
+ The decorated class requiring it to implement
51
+ the members of the the type as static properties/methods
52
+
53
+ ```ts
54
+ <U>(constructor): void;
55
+ ```
56
+
57
+ ### Type Parameters
58
+
59
+ ### U
60
+
61
+ `U`
62
+
63
+ ### Parameters
64
+
65
+ ### constructor
66
+
67
+ `U`
68
+
69
+ ### Returns
70
+
71
+ `void`
20
72
 
21
- Coming Soon!
22
73
 
23
74
  Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
24
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/static-implements",
3
- "version": "4.13.20",
3
+ "version": "4.13.22",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "static",
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "@xylabs/ts-scripts-yarn3": "^7.0.0",
47
47
  "@xylabs/tsconfig": "^7.0.0",
48
- "@xylabs/vitest-extended": "^4.13.20",
48
+ "@xylabs/vitest-extended": "^4.13.22",
49
49
  "tslib": "^2.8.1",
50
50
  "typescript": "^5.8.3",
51
51
  "vitest": "^3.2.4"