diff --git a/types/anybar/anybar-tests.ts b/types/anybar/anybar-tests.ts index 6b4ea8ef89..9577c6a7de 100644 --- a/types/anybar/anybar-tests.ts +++ b/types/anybar/anybar-tests.ts @@ -1,4 +1,4 @@ -import * as anybar from 'anybar' +import anybar from 'anybar' anybar('red', { port: 123 }) diff --git a/types/anybar/index.d.ts b/types/anybar/index.d.ts index 4972f29756..b42bcb3e40 100644 --- a/types/anybar/index.d.ts +++ b/types/anybar/index.d.ts @@ -5,6 +5,4 @@ declare namespace anybar { } -declare function anybar(color: string, options?: { port: number }): void - -export = anybar +export default function anybar(color: string, options?: { port: number }): void