Skip to content

Commit 3eaad10

Browse files
committed
Add JSONStringFormat to index.d.ts
1 parent 306dc49 commit 3eaad10

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jsonhero/json-infer-types",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Infer the types of a JSON value",
55
"homepage": "https://github.com/jsonhero-io/json-infer-types",
66
"bugs": {

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { JSONValueType } from "./@types";
22
import { inferFormat } from "./formats";
33

44
export { JSONValueType };
5+
export { JSONStringFormat } from "./formats";
56

67
export function inferType(value: unknown): JSONValueType {
78
if (value === null) {

0 commit comments

Comments
 (0)