@speckle/objectsender
Version:
Simple API helper to serialize and send objects to the server.
9 lines (8 loc) • 397 B
TypeScript
/**
* Basic 'Base'-like object from .NET. It will create a 'speckle_type' prop that defaults to the class' name. This can be overriden by providing yourself a 'speckle_type' property in the props argument of the constructor.
*/
export declare class Base implements Record<string, unknown> {
speckle_type: string;
constructor(props?: Record<string, unknown>);
[x: string]: unknown;
}