fix: Do not rely on class names in production bundle (#6212)
This commit is contained in:
@@ -22,6 +22,8 @@ type SaveOptions = {
|
||||
};
|
||||
|
||||
export default class Document extends ParanoidModel {
|
||||
static modelName = "Document";
|
||||
|
||||
constructor(fields: Record<string, any>, store: DocumentsStore) {
|
||||
super(fields, store);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user