view web/lib/avro-js.d.ts @ 2454:405abed9a45c

fix up asyncio-in-bg-thread sorcery
author drewp@bigasterisk.com
date Mon, 19 May 2025 21:25:32 -0700
parents ef3cde3e81e8
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;
}