wip: generate valid v-model and TS code in script setup inline mode

This commit is contained in:
Evan You
2020-11-17 12:42:58 -05:00
parent 6e870f5b30
commit c15bd6235e
6 changed files with 52 additions and 11 deletions

View File

@@ -169,6 +169,10 @@ export interface TransformOptions extends SharedTransformCodegenOptions {
* needed to render inline CSS variables on component root
*/
ssrCssVars?: string
/**
* Indicates that transforms should try to output valid TS code
*/
isTS?: boolean
onError?: (error: CompilerError) => void
}