Skip to content

Commit 8b538fb

Browse files
author
kai
committed
Fix typing error
Property 'binary' in type 'IPv6' is not assignable to the same property in base type 'IPAddress'.
1 parent 4ae2c8e commit 8b538fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IPAddress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export abstract class IPAddress {
4444
/**
4545
* Get IP address binary representation
4646
*/
47-
public abstract binary(): ArrayBuffer;
47+
public abstract binary(): ArrayBufferView;
4848

4949
/**
5050
* Check if the given addresses are equal

0 commit comments

Comments
 (0)