Skip to content

Commit

Permalink
fix: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Feb 19, 2025
1 parent da105a4 commit a927083
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ async function doCompileScript(

return [code, compiledScript.bindings]
} else {
// @ts-expect-error TODO remove when 3.6 is out
const vaporFlag = descriptor.vapor ? '__vapor: true' :''
return [`\nconst ${COMP_IDENTIFIER} = { ${vaporFlag} }`, undefined]
}
Expand Down

0 comments on commit a927083

Please sign in to comment.