Skip to content

Commit

Permalink
fix not allowed chars
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Dec 9, 2023
1 parent 6fc1a48 commit 7f648d0
Show file tree
Hide file tree
Showing 9 changed files with 594 additions and 592 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"prefer-const": "error",
"quotes": [
"error",
"double",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: false,
singleQuote: true,
printWidth: 140,
useTabs: false,
tabWidth: 2,
Expand Down
12 changes: 6 additions & 6 deletions lib/adapter-config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
// using the actual properties present in io-package.json
// in order to provide typings for adapter.config properties

import { native } from "../io-package.json";
import { native } from '../io-package.json';

type _AdapterConfig = typeof native;

// Augment the globally declared type ioBroker.AdapterConfig
declare global {
namespace ioBroker {
interface AdapterConfig extends _AdapterConfig {
// Do not enter anything here!
}
namespace ioBroker {
interface AdapterConfig extends _AdapterConfig {
// Do not enter anything here!
}
}
}

// this is required so the above AdapterConfig is found by TypeScript / type checking
export {};
export {};
Loading

0 comments on commit 7f648d0

Please sign in to comment.