get rid of unused toString method
This commit is contained in:
@@ -15,8 +15,5 @@ class SnowFlake {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
toString() {
|
|
||||||
return this.id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
export { SnowFlake };
|
export { SnowFlake };
|
||||||
|
@@ -14,8 +14,5 @@ abstract class SnowFlake{
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
toString(){
|
|
||||||
return this.id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
export{SnowFlake};
|
export{SnowFlake};
|
||||||
|
Reference in New Issue
Block a user