@xylabs/static-implements 2.11.7 → 2.11.9

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 (39) hide show
  1. package/dist/{index.d.mts.map → browser/index.d.mts.map} +1 -1
  2. package/dist/{index.d.ts.map → browser/index.d.ts.map} +1 -1
  3. package/dist/browser/index.js +2 -0
  4. package/dist/browser/index.js.map +1 -0
  5. package/dist/browser/spec/staticImplements.spec.js +34 -0
  6. package/dist/browser/spec/staticImplements.spec.js.map +1 -0
  7. package/dist/browser/staticImplements.d.mts.map +1 -0
  8. package/dist/browser/staticImplements.d.ts.map +1 -0
  9. package/dist/{index.mjs → browser/staticImplements.js} +1 -2
  10. package/dist/browser/staticImplements.js.map +1 -0
  11. package/dist/node/index.d.mts +2 -0
  12. package/dist/node/index.d.mts.map +1 -0
  13. package/dist/node/index.d.ts +2 -0
  14. package/dist/node/index.d.ts.map +1 -0
  15. package/dist/node/index.js +23 -0
  16. package/dist/node/index.js.map +1 -0
  17. package/dist/node/index.mjs +2 -0
  18. package/dist/node/index.mjs.map +1 -0
  19. package/dist/node/spec/staticImplements.spec.js +35 -0
  20. package/dist/node/spec/staticImplements.spec.js.map +1 -0
  21. package/dist/node/spec/staticImplements.spec.mjs +34 -0
  22. package/dist/node/spec/staticImplements.spec.mjs.map +1 -0
  23. package/dist/node/staticImplements.d.mts +7 -0
  24. package/dist/node/staticImplements.d.mts.map +1 -0
  25. package/dist/node/staticImplements.d.ts +7 -0
  26. package/dist/node/staticImplements.d.ts.map +1 -0
  27. package/dist/{index.js → node/staticImplements.js} +4 -8
  28. package/dist/node/staticImplements.js.map +1 -0
  29. package/dist/node/staticImplements.mjs +9 -0
  30. package/dist/node/staticImplements.mjs.map +1 -0
  31. package/package.json +11 -20
  32. package/dist/index.js.map +0 -1
  33. package/dist/index.mjs.map +0 -1
  34. package/dist/staticImplements.d.mts.map +0 -1
  35. package/dist/staticImplements.d.ts.map +0 -1
  36. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  37. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
  38. /package/dist/{staticImplements.d.mts → browser/staticImplements.d.mts} +0 -0
  39. /package/dist/{staticImplements.d.ts → browser/staticImplements.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from "./staticImplements";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './staticImplements'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -0,0 +1,34 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __decorateClass = (decorators, target, key, kind) => {
4
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
+ if (decorator = decorators[i])
7
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
+ if (kind && result)
9
+ __defProp(target, key, result);
10
+ return result;
11
+ };
12
+ import { staticImplements } from "../staticImplements";
13
+ let Concrete = class {
14
+ static foo() {
15
+ return "bar";
16
+ }
17
+ foo() {
18
+ return 1;
19
+ }
20
+ };
21
+ Concrete = __decorateClass([
22
+ staticImplements()
23
+ ], Concrete);
24
+ describe("staticImplements", () => {
25
+ it("forces class to implement static methods", () => {
26
+ expect(Concrete.foo).toBeFunction();
27
+ expect(Concrete.foo()).toBeString();
28
+ });
29
+ it("does not allow instances to satisfy static constraints", () => {
30
+ expect(new Concrete().foo).toBeFunction();
31
+ expect(new Concrete().foo()).toBeNumber();
32
+ });
33
+ });
34
+ //# sourceMappingURL=staticImplements.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/spec/staticImplements.spec.ts"],"sourcesContent":["import { staticImplements } from '../staticImplements'\n\ninterface StaticMethods {\n foo(): string\n}\n\n@staticImplements<StaticMethods>()\nclass Concrete {\n static foo() {\n return 'bar'\n }\n foo() {\n return 1\n }\n}\n\ndescribe('staticImplements', () => {\n it('forces class to implement static methods', () => {\n expect(Concrete.foo).toBeFunction()\n expect(Concrete.foo()).toBeString()\n })\n it('does not allow instances to satisfy static constraints', () => {\n expect(new Concrete().foo).toBeFunction()\n expect(new Concrete().foo()).toBeNumber()\n })\n})\n"],"mappings":";;;;;;;;;;;AAAA,SAAS,wBAAwB;AAOjC,IAAM,WAAN,MAAe;AAAA,EACb,OAAO,MAAM;AACX,WAAO;AAAA,EACT;AAAA,EACA,MAAM;AACJ,WAAO;AAAA,EACT;AACF;AAPM,WAAN;AAAA,EADC,iBAAgC;AAAA,GAC3B;AASN,SAAS,oBAAoB,MAAM;AACjC,KAAG,4CAA4C,MAAM;AACnD,WAAO,SAAS,GAAG,EAAE,aAAa;AAClC,WAAO,SAAS,IAAI,CAAC,EAAE,WAAW;AAAA,EACpC,CAAC;AACD,KAAG,0DAA0D,MAAM;AACjE,WAAO,IAAI,SAAS,EAAE,GAAG,EAAE,aAAa;AACxC,WAAO,IAAI,SAAS,EAAE,IAAI,CAAC,EAAE,WAAW;AAAA,EAC1C,CAAC;AACH,CAAC;","names":[]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
@@ -1,4 +1,3 @@
1
- // src/staticImplements.ts
2
1
  function staticImplements() {
3
2
  return (constructor) => {
4
3
  constructor;
@@ -7,4 +6,4 @@ function staticImplements() {
7
6
  export {
8
7
  staticImplements
9
8
  };
10
- //# sourceMappingURL=index.mjs.map
9
+ //# sourceMappingURL=staticImplements.js.map
@@ -0,0 +1 @@
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":[]}
@@ -0,0 +1,2 @@
1
+ export * from './staticImplements';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './staticImplements';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,23 @@
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 __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var src_exports = {};
17
+ module.exports = __toCommonJS(src_exports);
18
+ __reExport(src_exports, require("./staticImplements"), module.exports);
19
+ // Annotate the CommonJS export names for ESM import in node:
20
+ 0 && (module.exports = {
21
+ ...require("./staticImplements")
22
+ });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './staticImplements'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,+BAAd;","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from "./staticImplements";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './staticImplements'\n"],"mappings":"AAAA,cAAc;","names":[]}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __decorateClass = (decorators, target, key, kind) => {
5
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
7
+ if (decorator = decorators[i])
8
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9
+ if (kind && result)
10
+ __defProp(target, key, result);
11
+ return result;
12
+ };
13
+ var import_staticImplements = require("../staticImplements");
14
+ let Concrete = class {
15
+ static foo() {
16
+ return "bar";
17
+ }
18
+ foo() {
19
+ return 1;
20
+ }
21
+ };
22
+ Concrete = __decorateClass([
23
+ (0, import_staticImplements.staticImplements)()
24
+ ], Concrete);
25
+ describe("staticImplements", () => {
26
+ it("forces class to implement static methods", () => {
27
+ expect(Concrete.foo).toBeFunction();
28
+ expect(Concrete.foo()).toBeString();
29
+ });
30
+ it("does not allow instances to satisfy static constraints", () => {
31
+ expect(new Concrete().foo).toBeFunction();
32
+ expect(new Concrete().foo()).toBeNumber();
33
+ });
34
+ });
35
+ //# sourceMappingURL=staticImplements.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/spec/staticImplements.spec.ts"],"sourcesContent":["import { staticImplements } from '../staticImplements'\n\ninterface StaticMethods {\n foo(): string\n}\n\n@staticImplements<StaticMethods>()\nclass Concrete {\n static foo() {\n return 'bar'\n }\n foo() {\n return 1\n }\n}\n\ndescribe('staticImplements', () => {\n it('forces class to implement static methods', () => {\n expect(Concrete.foo).toBeFunction()\n expect(Concrete.foo()).toBeString()\n })\n it('does not allow instances to satisfy static constraints', () => {\n expect(new Concrete().foo).toBeFunction()\n expect(new Concrete().foo()).toBeNumber()\n })\n})\n"],"mappings":";;;;;;;;;;;;AAAA,8BAAiC;AAOjC,IAAM,WAAN,MAAe;AAAA,EACb,OAAO,MAAM;AACX,WAAO;AAAA,EACT;AAAA,EACA,MAAM;AACJ,WAAO;AAAA,EACT;AACF;AAPM,WAAN;AAAA,MADC,0CAAgC;AAAA,GAC3B;AASN,SAAS,oBAAoB,MAAM;AACjC,KAAG,4CAA4C,MAAM;AACnD,WAAO,SAAS,GAAG,EAAE,aAAa;AAClC,WAAO,SAAS,IAAI,CAAC,EAAE,WAAW;AAAA,EACpC,CAAC;AACD,KAAG,0DAA0D,MAAM;AACjE,WAAO,IAAI,SAAS,EAAE,GAAG,EAAE,aAAa;AACxC,WAAO,IAAI,SAAS,EAAE,IAAI,CAAC,EAAE,WAAW;AAAA,EAC1C,CAAC;AACH,CAAC;","names":[]}
@@ -0,0 +1,34 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __decorateClass = (decorators, target, key, kind) => {
4
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
+ if (decorator = decorators[i])
7
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
+ if (kind && result)
9
+ __defProp(target, key, result);
10
+ return result;
11
+ };
12
+ import { staticImplements } from "../staticImplements";
13
+ let Concrete = class {
14
+ static foo() {
15
+ return "bar";
16
+ }
17
+ foo() {
18
+ return 1;
19
+ }
20
+ };
21
+ Concrete = __decorateClass([
22
+ staticImplements()
23
+ ], Concrete);
24
+ describe("staticImplements", () => {
25
+ it("forces class to implement static methods", () => {
26
+ expect(Concrete.foo).toBeFunction();
27
+ expect(Concrete.foo()).toBeString();
28
+ });
29
+ it("does not allow instances to satisfy static constraints", () => {
30
+ expect(new Concrete().foo).toBeFunction();
31
+ expect(new Concrete().foo()).toBeNumber();
32
+ });
33
+ });
34
+ //# sourceMappingURL=staticImplements.spec.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/spec/staticImplements.spec.ts"],"sourcesContent":["import { staticImplements } from '../staticImplements'\n\ninterface StaticMethods {\n foo(): string\n}\n\n@staticImplements<StaticMethods>()\nclass Concrete {\n static foo() {\n return 'bar'\n }\n foo() {\n return 1\n }\n}\n\ndescribe('staticImplements', () => {\n it('forces class to implement static methods', () => {\n expect(Concrete.foo).toBeFunction()\n expect(Concrete.foo()).toBeString()\n })\n it('does not allow instances to satisfy static constraints', () => {\n expect(new Concrete().foo).toBeFunction()\n expect(new Concrete().foo()).toBeNumber()\n })\n})\n"],"mappings":";;;;;;;;;;;AAAA,SAAS,wBAAwB;AAOjC,IAAM,WAAN,MAAe;AAAA,EACb,OAAO,MAAM;AACX,WAAO;AAAA,EACT;AAAA,EACA,MAAM;AACJ,WAAO;AAAA,EACT;AACF;AAPM,WAAN;AAAA,EADC,iBAAgC;AAAA,GAC3B;AASN,SAAS,oBAAoB,MAAM;AACjC,KAAG,4CAA4C,MAAM;AACnD,WAAO,SAAS,GAAG,EAAE,aAAa;AAClC,WAAO,SAAS,IAAI,CAAC,EAAE,WAAW;AAAA,EACpC,CAAC;AACD,KAAG,0DAA0D,MAAM;AACjE,WAAO,IAAI,SAAS,EAAE,GAAG,EAAE,aAAa;AACxC,WAAO,IAAI,SAAS,EAAE,IAAI,CAAC,EAAE,WAAW;AAAA,EAC1C,CAAC;AACH,CAAC;","names":[]}
@@ -0,0 +1,7 @@
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
+ export declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
7
+ //# sourceMappingURL=staticImplements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
@@ -0,0 +1,7 @@
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
+ export declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
7
+ //# sourceMappingURL=staticImplements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
@@ -16,15 +16,11 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
19
+ var staticImplements_exports = {};
20
+ __export(staticImplements_exports, {
23
21
  staticImplements: () => staticImplements
24
22
  });
25
- module.exports = __toCommonJS(src_exports);
26
-
27
- // src/staticImplements.ts
23
+ module.exports = __toCommonJS(staticImplements_exports);
28
24
  function staticImplements() {
29
25
  return (constructor) => {
30
26
  constructor;
@@ -34,4 +30,4 @@ function staticImplements() {
34
30
  0 && (module.exports = {
35
31
  staticImplements
36
32
  });
37
- //# sourceMappingURL=index.js.map
33
+ //# sourceMappingURL=staticImplements.js.map
@@ -0,0 +1 @@
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":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
@@ -0,0 +1,9 @@
1
+ function staticImplements() {
2
+ return (constructor) => {
3
+ constructor;
4
+ };
5
+ }
6
+ export {
7
+ staticImplements
8
+ };
9
+ //# sourceMappingURL=staticImplements.mjs.map
@@ -0,0 +1 @@
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":[]}
package/package.json CHANGED
@@ -12,34 +12,25 @@
12
12
  },
13
13
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
14
14
  "docs": "dist/docs.json",
15
- "types": "dist/index.d.ts",
15
+ "types": "dist/node/index.d.ts",
16
16
  "exports": {
17
17
  ".": {
18
18
  "require": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/index.js"
19
+ "types": "./dist/node/index.d.ts",
20
+ "default": "./dist/node/index.js"
21
21
  },
22
22
  "import": {
23
- "types": "./dist/index.d.mts",
24
- "default": "./dist/index.mjs"
23
+ "types": "./dist/node/index.d.mts",
24
+ "default": "./dist/node/index.mjs"
25
25
  }
26
26
  },
27
- "./dist/docs.json": {
28
- "default": "./dist/docs.json"
29
- },
30
- "./cjs": {
31
- "default": "./dist/index.js"
32
- },
33
27
  "./docs": {
34
28
  "default": "./dist/docs.json"
35
29
  },
36
- "./esm": {
37
- "default": "./dist/index.mjs"
38
- },
39
30
  "./package.json": "./package.json"
40
31
  },
41
- "main": "dist/index.js",
42
- "module": "dist/index.mjs",
32
+ "main": "dist/node/index.js",
33
+ "module": "dist/node/index.mjs",
43
34
  "homepage": "https://xylabs.com",
44
35
  "keywords": [
45
36
  "xylabs",
@@ -48,9 +39,9 @@
48
39
  "esm"
49
40
  ],
50
41
  "devDependencies": {
51
- "@xylabs/ts-scripts-yarn3": "^3.0.28",
52
- "@xylabs/tsconfig": "^3.0.28",
53
- "@xylabs/tsconfig-jest": "^3.0.28",
42
+ "@xylabs/ts-scripts-yarn3": "^3.0.55",
43
+ "@xylabs/tsconfig": "^3.0.55",
44
+ "@xylabs/tsconfig-jest": "^3.0.55",
54
45
  "typescript": "^5.2.2"
55
46
  },
56
47
  "publishConfig": {
@@ -61,5 +52,5 @@
61
52
  "url": "https://github.com/xylabs/sdk-js.git"
62
53
  },
63
54
  "sideEffects": false,
64
- "version": "2.11.7"
55
+ "version": "2.11.9"
65
56
  }
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":[]}
@@ -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":[]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
File without changes
File without changes