Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use static imports in @validateArgs(), elaborate errors #7407

Merged
merged 11 commits into from
Nov 19, 2024
6 changes: 5 additions & 1 deletion packages/cc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"compilerOptions": {
"plugins": [
{
"transform": "@zwave-js/transformers"
"transform": "@zwave-js/transformers/validateArgs/program",
"transformProgram": true
},
{
"transform": "@zwave-js/transformers/validateArgs/decorators"
}
]
},
Expand Down
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
"import": "./build/esm/traits/index.js",
"require": "./build/cjs/traits/index.js"
},
"./validation": {
"@@dev": "./src/util/validation.ts",
"import": "./build/esm/util/validation.js",
"require": "./build/cjs/util/validation.js"
},
"./qr": {
"@@dev": "./src/qr/index.ts",
"browser": "./build/esm/qr/index.browser.js",
Expand Down
Loading
Loading