Setup formatting

This commit is contained in:
schmelczerandras 2020-10-07 16:40:21 +02:00
parent d34f25295c
commit dd850d11d1
45 changed files with 230 additions and 190 deletions

View file

@ -1 +1 @@
export type DeserializableClass = { new(...args: Array<any>): {}; name: string };
export type DeserializableClass = { new (...args: Array<any>): unknown; name: string };

View file

@ -4,7 +4,7 @@ import { serializableMapping } from './serializable-mapping';
export const overrideDeserialization = (
source: SerializableClass,
target: DeserializableClass
target: DeserializableClass,
) => {
serializableMapping.set(source.name, {
constructor: target,

View file

@ -1,4 +1,4 @@
export type SerializableClass = {
new(...args: Array<any>): { toArray(): Array<any> };
new (...args: Array<any>): { toArray(): Array<any> };
name: string;
};