Skip to content

Commit

Permalink
Merge pull request #1562 from ktrueda/fix/typescript_doc
Browse files Browse the repository at this point in the history
doc: Fix JTD typescript sample error
  • Loading branch information
epoberezkin authored Apr 26, 2021
2 parents e695db1 + 55706db commit d3bef59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ If you use JTD with typescript, the type for the schema can be derived from the
import Ajv, {JTDSchemaType} from "ajv/dist/jtd"
const ajv = new Ajv()

interface MyData = {
interface MyData {
foo: number
bar?: string
}
Expand Down

0 comments on commit d3bef59

Please sign in to comment.