Skip to content

Commit

Permalink
Merge pull request #253 from foxriver76/main
Browse files Browse the repository at this point in the history
add iobroker types globally
  • Loading branch information
Apollon77 authored Feb 18, 2024
2 parents b6485ee + 682e558 commit d5e2a93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/build-adapter-handlers.ts
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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

0 comments on commit d5e2a93

Please sign in to comment.