view 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 source

declare module "avro-js" {
    export namespace types {
        interface Type {
            fromBuffer(buffer: Buffer): Record;
        }
        type Record = any;
    }

    export function parse(schema: any): types.Type;
}