File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 99 "dev" : " tsx ./node_modules/moleculer/bin/moleculer-runner.js --config moleculer.config.ts --hot --repl services/**/*.service.ts" ,
1010 "start" : " moleculer-runner --config dist/moleculer.config.js" ,
1111 "cli" : " moleculer connect {{transporter}}" ,
12+ "typecheck" : " tsc --noEmit true" ,
1213 "ci" : " vitest --watch" ,
1314 "test" : " vitest --run --coverage" {{#lint }},
1415 "lint" : " eslint" ,
Original file line number Diff line number Diff line change 1- import type { Context , ServiceSchema } from "moleculer" ;
1+ import type { Context , ServiceSchema , ServiceSettingSchema } from "moleculer" ;
22import type { DatabaseSettings , ApolloServiceSettings } from "../moleculer-types.js" ;
33import DbMixin from "../mixins/db.mixin.js" ;
44import type { DbServiceMethods } from "../mixins/db.mixin.js" ;
@@ -19,7 +19,7 @@ export interface ActionQuantityParams {
1919
2020interface ProductSettings extends DatabaseSettings , ApolloServiceSettings { }
2121
22- const ProductsService : ServiceSchema < ProductSettings , DbServiceMethods > = {
22+ const ProductsService : ServiceSchema < ProductSettings , DbServiceMethods , ServiceSettingSchema > = {
2323 name : "products" ,
2424 // version: 1
2525
You can’t perform that action at this time.
0 commit comments