@builder.io/console-feed
Version:
A React component that displays console logs from the current page, an iframe or transported across a server
16 lines (15 loc) • 348 B
TypeScript
interface Storage {
name: string;
body: string;
proto: string;
}
declare const _default: {
type: string;
shouldTransform(type: any, obj: any): boolean;
toSerializable(func: Function): Storage;
fromSerializable(data: Storage): Storage | (() => void);
};
/**
* Serialize a function into JSON
*/
export default _default;