Skip to content

Commit

Permalink
Null is a valid json type, and json type is exported
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr committed Aug 19, 2023
1 parent 5f704ec commit 522e72d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ export {
jsonObjToQueryStr,
queryParamsToJsonObj,
queryStrToJsonObj,
JsonType,
JsonObjType,
} from "./jsonUrley";
1 change: 1 addition & 0 deletions src/jsonUrley/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import PathElement, { parsePath } from "./PathElement";

export type JsonType =
| null
| boolean
| number
| string
Expand Down

0 comments on commit 522e72d

Please sign in to comment.