Skip to content

Commit

Permalink
fix: json2Typebox方法名修改为json2typebox
Browse files Browse the repository at this point in the history
  • Loading branch information
hacxy committed Oct 26, 2024
1 parent c671ecf commit cfc281e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const json2typescript = async (json: string, name: string = 'Data') => {
return tsCode;
};

export const json2Typebox = async (json: string, name: string = 'Data') => {
export const json2typebox = async (json: string, name: string = 'Data') => {
let tsCode = '';
try {
tsCode = await json2typescript(json, name);
Expand Down

0 comments on commit cfc281e

Please sign in to comment.