modelling/lib/interfaces/Serializable.ts

8 lines
245 B
TypeScript
Raw Normal View History

2020-05-04 20:25:57 +02:00
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');
}
2020-05-04 20:04:38 +02:00
}