Skip to content

Commit

Permalink
fix(tsd): export error (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreDemailly authored Dec 20, 2022
1 parent 42d09a1 commit 7d2ae1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ export interface wcsOptions {
control?: number;
}

declare function wcswidth(str: string, opts?: wcsOptions): number;

export = wcswidth;
export default function wcswidth(str: string, opts?: wcsOptions): number;

0 comments on commit 7d2ae1f

Please sign in to comment.