modelling/lib/interfaces/Serializable.ts
2020-05-04 20:25:57 +02:00

8 lines
245 B
TypeScript

export abstract class Serializable {
public abstract serialize(): string;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public static deserialize (str: string): Serializable {
throw new Error ('not implemented');
}
}