mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
[meteor] EJSONableCustomType shloud have clone and equal method optional (#20494)
According to meteor docs a custom type registered to EJSON is allowed to omit the `clone` and `equals` methods. See https://docs.meteor.com/api/ejson.html#EJSON-addType
This commit is contained in:
committed by
Wesley Wigham
parent
75f77248e4
commit
7031c869bb
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
interface EJSONableCustomType {
|
||||
clone(): EJSONableCustomType;
|
||||
equals(other: Object): boolean;
|
||||
clone?(): EJSONableCustomType;
|
||||
equals?(other: Object): boolean;
|
||||
toJSONValue(): JSONable;
|
||||
typeName(): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user