Skip to content

Commit

Permalink
Update packages/core/core/src/serializer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett authored Nov 21, 2023
1 parent bc20c50 commit cef0b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/core/src/serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {serializeRaw, deserializeRaw} from './serializerCore';
export {serializeRaw, deserializeRaw} from './serializerCore';

const nameToCtor: Map<string, Class<any>> = new Map();
export const ctorToName: Map<Class<any>, string> = new Map();
const ctorToName: Map<Class<any>, string> = new Map();

export function registerSerializableClass(name: string, ctor: Class<any>) {
if (ctorToName.has(ctor)) {
Expand Down

0 comments on commit cef0b15

Please sign in to comment.