diff --git a/lib/interfaces/Serializable.ts b/lib/interfaces/Serializable.ts index 256ff20..7d5a8d3 100644 --- a/lib/interfaces/Serializable.ts +++ b/lib/interfaces/Serializable.ts @@ -1,7 +1,3 @@ -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'); - } +export interface Serializable { + serialize(): string; }