Skip to content

Commit

Permalink
fix(bindgen): add preRun argument to sample LoadSampleInputs function
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Sep 20, 2023
1 parent 94082ee commit f661729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function interfaceFunctionsDemoTypeScript(packageName, interfaceJson, outputPath
result += `import ${functionName}LoadSampleInputs, { usePreRun } from "./${interfaceJson.name}-load-sample-inputs.js"\n`
const loadSampleInputsModulePath = path.join(outputPath, `${interfaceJson.name}-load-sample-inputs.ts`)
const loadSampleInputsModuleContent = `export default null
// export default async function ${functionName}LoadSampleInputs (model) {
// export default async function ${functionName}LoadSampleInputs (model, preRun=false) {
// Load sample inputs for the ${functionName} function.
//
Expand Down

0 comments on commit f661729

Please sign in to comment.