Skip to content

Commit

Permalink
Corrected export in active.d.ts
Browse files Browse the repository at this point in the history
Fixes #162
  • Loading branch information
ItalyPaleAle committed Nov 5, 2020
1 parent 87bb97c commit afdca31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion active.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface ActiveOptions {
* @param opts - Can be an object of type `ActiveOptions`, or a string (or regular expressions) representing `ActiveOptions.path`.
* @returns Destroy function
*/
export declare function active(
export default function active(
node: HTMLElement,
opt?: ActiveOptions | string | RegExp
): {destroy: () => void}

0 comments on commit afdca31

Please sign in to comment.