File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ export interface Checksum {
21
21
* Creates a new checksum object that contains a deep copy of the internal
22
22
* state of the current `Checksum` object.
23
23
*/
24
- copy ?: ( ) => Checksum ;
24
+ copy ?( ) : Checksum ;
25
25
26
26
/**
27
27
* Returns the digest of all of the data passed.
28
28
*/
29
- digest : ( ) => Promise < Uint8Array > ;
29
+ digest ( ) : Promise < Uint8Array > ;
30
30
31
31
/**
32
32
* Allows marking a checksum for checksums that support the ability
@@ -35,12 +35,12 @@ export interface Checksum {
35
35
* @param {number } readLimit - The maximum limit of bytes that can be read
36
36
* before the mark position becomes invalid.
37
37
*/
38
- mark ?: ( readLimit : number ) => void ;
38
+ mark ?( readLimit : number ) : void ;
39
39
40
40
/**
41
41
* Resets the checksum to its initial value.
42
42
*/
43
- reset : ( ) => void ;
43
+ reset ( ) : void ;
44
44
45
45
/**
46
46
* Adds a chunk of data for which checksum needs to be computed.
You can’t perform that action at this time.
0 commit comments