fix
This commit is contained in:
parent
a94c741624
commit
dd5608afb7
@ -1,7 +1,7 @@
|
||||
export interface Serializable {
|
||||
serialize(): string;
|
||||
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 Deserializable {
|
||||
deserialize(str: string): Serializable;
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
export { Assignable } from './Assignable';
|
||||
export { Serializable, Deserializable } from './Serializable';
|
||||
export { Serializable } from './Serializable';
|
||||
|
Loading…
x
Reference in New Issue
Block a user