Skip to content

Commit b8fa4ce

Browse files
committed
Fixed type declaration in README
Missed to change the type declaration of the `encoding` parameter on `#decode()`.
1 parent 3a41459 commit b8fa4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Returns `String`
112112
### bencode.decode( *data*, *encoding* )
113113

114114
> `Buffer` __data__
115-
> `Boolean` __encoding__
115+
> `String` __encoding__
116116
117117
If `encoding` is set, bytestrings are
118118
automatically converted to strings.

0 commit comments

Comments
 (0)