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

add iobroker types globally #253

Merged
merged 3 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/build-adapter-handlers.ts
@@ -1,4 +1,5 @@
/** Build script to use esbuild without specifying 1000 CLI options */
// @ts-expect-error esm2cjs/execa needs to be fixed to allow cjs import with types
import { ExecaChildProcess, execaNode } from "@esm2cjs/execa";
import { gray, green, red } from "ansi-colors";
import type {
Expand Down
5 changes: 5 additions & 0 deletions tsconfig.json
Expand Up @@ -15,6 +15,11 @@

"outDir": "./build/",
"removeComments": false,
"types": [
"@iobroker/types",
"node",
"mocha"
],

// Avoid runtime imports that are unnecessary
// "importsNotUsedAsValues": "error",
Expand Down