convai / server /lib /obj.d.ts
Julien Chaumond
server
d0aa19c
raw
history blame
168 Bytes
/**
* Hf helper type for a dictionary-like object with arbitrary keys.
*/
declare interface Obj<T = any> {
[key: string]: T
}
type Extend<T, U = any> = T & Obj<U>;