Skip to content

Commit f83dbe1

Browse files
committed
Use JSON.t in decodeFromJson
1 parent ee8092a commit f83dbe1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtime/RescriptTools_Docgen.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ type doc = {
8989
/**
9090
`decodeFromJson(json)` parse JSON generated from `restool doc` command
9191
*/
92-
external decodeFromJson: Js.Json.t => doc = "%identity"
92+
external decodeFromJson: JSON.t => doc = "%identity"

runtime/RescriptTools_Docgen.resi

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ type doc = {
8585
items: array<item>,
8686
}
8787

88-
let decodeFromJson: Js.Json.t => doc
88+
let decodeFromJson: JSON.t => doc

0 commit comments

Comments
 (0)