Skip to content

Conversation

@jkwlui
Copy link

@jkwlui jkwlui commented Jun 27, 2019

Module will expose a single method (as before) with type:

(cfg: Config) => ValidationStream

export interface ValidationStream extends stream.Transform {
  test(algo: 'md5' | 'crc32c', sum: string): boolean;
}

export interface Config {
  md5?: boolean;
  crc32c?: boolean;
}

@jkwlui jkwlui marked this pull request as ready for review June 27, 2019 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant