fix(ignore): Remove external definition type

This commit is contained in:
Koen Kanters
2024-11-22 21:36:12 +01:00
parent c6958c4991
commit 8aef77e57e
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -32,7 +32,6 @@ declare global {
type Extension = TypeExtension;
// Types
type ExternalDefinition = zhc.Definition & {homeassistant: unknown};
interface MQTTResponse {
data: KeyValue;
status: 'error' | 'ok';
+1 -1
View File
@@ -168,7 +168,7 @@ function loadModuleFromFile(modulePath: string): unknown {
return loadModuleFromText(moduleCode);
}
export function* loadExternalConverter(moduleName: string): Generator<ExternalDefinition> {
export function* loadExternalConverter(moduleName: string): Generator<zhc.Definition> {
let converter;
if (moduleName.endsWith('.js')) {