Mercurial > code > home > repos > light9
diff web/lib/avro-js.d.ts @ 2395:ef3cde3e81e8
switch collector output from json to avro (still over WS)
author | drewp@bigasterisk.com |
---|---|
date | Thu, 16 May 2024 15:03:50 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/avro-js.d.ts Thu May 16 15:03:50 2024 -0700 @@ -0,0 +1,10 @@ +declare module "avro-js" { + export namespace types { + interface Type { + fromBuffer(buffer: Buffer): Record; + } + type Record = any; + } + + export function parse(schema: any): types.Type; +} \ No newline at end of file