Skip to content

Commit

Permalink
close 186 (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt authored May 2, 2022
1 parent eeb630a commit 1b3946c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export const stringify = (object: SuperJSONValue): string =>
export const parse = <T = unknown>(string: string): T =>
deserialize(JSON.parse(string));

const registerClass = (v: Class, options?: RegisterOptions | string) =>
export const registerClass = (v: Class, options?: RegisterOptions | string) =>
ClassRegistry.register(v, options);

const registerSymbol = (v: Symbol, identifier?: string) =>
export const registerSymbol = (v: Symbol, identifier?: string) =>
SymbolRegistry.register(v, identifier);

const registerCustom = <I, O extends JSONValue>(
export const registerCustom = <I, O extends JSONValue>(
transformer: Omit<CustomTransfomer<I, O>, 'name'>,
name: string
) =>
Expand Down

0 comments on commit 1b3946c

Please sign in to comment.