@xylabs/static-implements 5.0.83 → 5.0.86

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 +16 -12
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -15,6 +15,8 @@
15
15
 
16
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
17
17
 
18
+
19
+
18
20
  ## Reference
19
21
 
20
22
  **@xylabs/static-implements**
@@ -23,7 +25,9 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
23
25
 
24
26
  ## Functions
25
27
 
26
- - [staticImplements](#functions/staticImplements)
28
+ | Function | Description |
29
+ | ------ | ------ |
30
+ | [staticImplements](#functions/staticImplements) | Annotation to decorate classes which implement static methods |
27
31
 
28
32
  ### functions
29
33
 
@@ -34,16 +38,16 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
34
38
  ***
35
39
 
36
40
  ```ts
37
- function staticImplements<T>(): <U>(constructor) => void;
41
+ function staticImplements<T>(): <U>(constructor: U) => void;
38
42
  ```
39
43
 
40
44
  Annotation to decorate classes which implement static methods
41
45
 
42
46
  ## Type Parameters
43
47
 
44
- ### T
45
-
46
- `T`
48
+ | Type Parameter |
49
+ | ------ |
50
+ | `T` |
47
51
 
48
52
  ## Returns
49
53
 
@@ -51,20 +55,20 @@ The decorated class requiring it to implement
51
55
  the members of the the type as static properties/methods
52
56
 
53
57
  ```ts
54
- <U>(constructor): void;
58
+ <U>(constructor: U): void;
55
59
  ```
56
60
 
57
61
  ### Type Parameters
58
62
 
59
- ### U
60
-
61
- `U`
63
+ | Type Parameter |
64
+ | ------ |
65
+ | `U` |
62
66
 
63
67
  ### Parameters
64
68
 
65
- ### constructor
66
-
67
- `U`
69
+ | Parameter | Type |
70
+ | ------ | ------ |
71
+ | `constructor` | `U` |
68
72
 
69
73
  ### Returns
70
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/static-implements",
3
- "version": "5.0.83",
3
+ "version": "5.0.86",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "static",
@@ -43,9 +43,9 @@
43
43
  "!**/*.test.*"
44
44
  ],
45
45
  "devDependencies": {
46
- "@xylabs/ts-scripts-yarn3": "~7.4.11",
47
- "@xylabs/tsconfig": "~7.4.11",
48
- "@xylabs/vitest-extended": "~5.0.83",
46
+ "@xylabs/ts-scripts-yarn3": "~7.4.16",
47
+ "@xylabs/tsconfig": "~7.4.16",
48
+ "@xylabs/vitest-extended": "~5.0.86",
49
49
  "tslib": "^2.8.1",
50
50
  "typescript": "~5.9.3",
51
51
  "vitest": "~4.0.18"