fix
This commit is contained in:
parent
a94c741624
commit
dd5608afb7
@ -1,7 +1,7 @@
|
|||||||
export interface Serializable {
|
export abstract class Serializable {
|
||||||
serialize(): string;
|
public abstract serialize(): string;
|
||||||
}
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
public static deserialize (str: string): Serializable {
|
||||||
export interface Deserializable {
|
throw new Error ('not implemented');
|
||||||
deserialize(str: string): Serializable;
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
export { Assignable } from './Assignable';
|
export { Assignable } from './Assignable';
|
||||||
export { Serializable, Deserializable } from './Serializable';
|
export { Serializable } from './Serializable';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user