@xylabs/static-implements 2.10.13 → 2.10.15

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 CHANGED
@@ -52,9 +52,9 @@
52
52
  "esm"
53
53
  ],
54
54
  "devDependencies": {
55
- "@xylabs/ts-scripts-yarn3": "^2.19.5",
56
- "@xylabs/tsconfig": "^2.19.5",
57
- "@xylabs/tsconfig-jest": "~2.19.5",
55
+ "@xylabs/ts-scripts-yarn3": "^2.19.9",
56
+ "@xylabs/tsconfig": "^2.19.9",
57
+ "@xylabs/tsconfig-jest": "~2.19.9",
58
58
  "publint": "^0.2.2",
59
59
  "tsup": "^7.2.0",
60
60
  "typescript": "^5.2.2"
@@ -67,5 +67,5 @@
67
67
  "url": "https://github.com/xylabs/sdk-js.git"
68
68
  },
69
69
  "sideEffects": false,
70
- "version": "2.10.13"
70
+ "version": "2.10.15"
71
71
  }
package/dist/index.d.mts DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Annotation to decorate classes which implement static methods
3
- * @returns The decorated class requiring it to implement
4
- * the members of the the type as static properties/methods
5
- */
6
- declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
7
-
8
- export { staticImplements };
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**
2
- * Annotation to decorate classes which implement static methods
3
- * @returns The decorated class requiring it to implement
4
- * the members of the the type as static properties/methods
5
- */
6
- declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
7
-
8
- export { staticImplements };
package/dist/index.js DELETED
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
23
- staticImplements: () => staticImplements
24
- });
25
- module.exports = __toCommonJS(src_exports);
26
-
27
- // src/staticImplements.ts
28
- function staticImplements() {
29
- return (constructor) => {
30
- constructor;
31
- };
32
- }
33
- // Annotate the CommonJS export names for ESM import in node:
34
- 0 && (module.exports = {
35
- staticImplements
36
- });
37
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts","../src/staticImplements.ts"],"sourcesContent":["export * from './staticImplements'\n","/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
package/dist/index.mjs DELETED
@@ -1,10 +0,0 @@
1
- // src/staticImplements.ts
2
- function staticImplements() {
3
- return (constructor) => {
4
- constructor;
5
- };
6
- }
7
- export {
8
- staticImplements
9
- };
10
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/staticImplements.ts"],"sourcesContent":["/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}