Skip to content

Commit

Permalink
fix(ignore): Remove external definition type
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Dec 1, 2024
1 parent c6958c4 commit 8aef77e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ declare global {
type Extension = TypeExtension;

// Types
type ExternalDefinition = zhc.Definition & {homeassistant: unknown};
interface MQTTResponse {
data: KeyValue;
status: 'error' | 'ok';
Expand Down
2 changes: 1 addition & 1 deletion lib/util/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit 8aef77e

Please sign in to comment.