Skip to content

Commit b2461f5

Browse files
authored
🐞 fix wordBound type (#30)
1 parent f1e800c commit b2461f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare module 'reading-time' {
22
interface IOptions {
3-
wordBound?: () => boolean;
3+
wordBound?: (char: string) => boolean;
44
wordsPerMinute?: number;
55
}
66

0 commit comments

Comments
 (0)