Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT committed Sep 30, 2023
1 parent b5cd7a6 commit bdb10fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export {
tsonDeserializer,
tsonParser,
tsonSerializer,
tsonStringifier,
} from "./tson.js";
2 changes: 1 addition & 1 deletion src/tson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function tsonSerializer(opts: TsonOptions): TsonSerializeFn {
* Maps over an object or array, returning a new object or array with the same keys.
* If the input is not an object or array, the input is returned.
*/
export function mapOrReturn(
function mapOrReturn(
input: unknown,
fn: (val: unknown, key: number | string) => unknown,
): unknown {
Expand Down

0 comments on commit bdb10fd

Please sign in to comment.