9 lines
304 B
TypeScript
9 lines
304 B
TypeScript
export interface ParseObject {
|
|
objectId: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
className: string;
|
|
__type: string;
|
|
}
|
|
export type WithoutParseKeys<T> = Omit<T, keyof ParseObject>;
|
|
export declare const sanitizeParseObject: <T extends ParseObject>(obj: T) => WithoutParseKeys<T>;
|