@alevnyacow/nzmt 0.1.8 → 0.1.10
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ export class MathService {
|
|
|
66
66
|
|
|
67
67
|
public DIVIDED_BY_ZERO = 'DIVIDED_BY_ZERO'
|
|
68
68
|
|
|
69
|
-
public
|
|
69
|
+
public basicOperation = this.methods(
|
|
70
70
|
// Method name, working TS intellisense
|
|
71
71
|
'basicOperation',
|
|
72
72
|
// handler logic
|
|
@@ -111,7 +111,7 @@ export class MathService {
|
|
|
111
111
|
const mathService = new MathService();
|
|
112
112
|
|
|
113
113
|
// types infered from zod schemas, working intellisense
|
|
114
|
-
const { result } = mathService.
|
|
114
|
+
const { result } = mathService.basicOperation({
|
|
115
115
|
lhs: 10,
|
|
116
116
|
rhs: 15,
|
|
117
117
|
operation: '+'
|