diff --git a/index.d.ts b/index.d.ts index a4d0534..d39bfdb 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1 +1,3 @@ -export default function accept(file: { name?: string, type?: string }, acceptedFiles: string | string[]): boolean; +declare function accept(file: { name?: string, type?: string }, acceptedFiles: string | string[]): boolean; + +export = accept;