Comparing version 1.6.0 to 1.6.1
@@ -12,3 +12,3 @@ import { SuperJSONResult, SuperJSONValue, Class, JSONValue } from './types'; | ||
deserialize: <T_1 = unknown>(payload: SuperJSONResult) => T_1; | ||
registerClass: (v: Class, options?: RegisterOptions | undefined) => void; | ||
registerClass: (v: Class, options?: string | RegisterOptions | undefined) => void; | ||
registerSymbol: (v: Symbol, identifier?: string | undefined) => void; | ||
@@ -15,0 +15,0 @@ registerCustom: <I, O extends JSONValue>(transformer: Pick<CustomTransfomer<I, O>, "isApplicable" | "serialize" | "deserialize">, name: string) => void; |
{ | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
@@ -55,3 +55,3 @@ import { applyAnnotations, makeAnnotator } from './annotator'; | ||
const registerClass = (v: Class, options?: RegisterOptions) => | ||
const registerClass = (v: Class, options?: RegisterOptions | string) => | ||
ClassRegistry.register(v, options); | ||
@@ -58,0 +58,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157682