Files
DefinitelyTyped/types/js-crc/index.d.ts
Anders K f4d03a4dce 🤖 Merge PR #64031 Add type definitions for js-crc npm package by @and3k5
* Add js-crc

* Remove wrong 'export as namespace'
2023-01-24 01:58:43 -08:00

9 lines
410 B
TypeScript

// Type definitions for js-crc 0.2
// Project: https://github.com/emn178/js-crc
// Definitions by: Anders Kjeldsen <https://github.com/and3k5>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function crc32(message: string | ArrayBuffer | Uint8Array | ReadonlyArray<number>): string;
export function crc16(message: string | ArrayBuffer | Uint8Array | ReadonlyArray<number>): string;