refactor(compiler/types): convert compiler options documentation to jsdoc
BREAKING CHANGE: `getTextMode` compiler option signature has changed from ```ts (tag: string, ns: string, parent: ElementNode | undefined) => TextModes ``` to ```ts (node: ElementNode, parent: ElementNode | undefined) => TextModes ```
This commit is contained in:
@@ -2515,7 +2515,7 @@ foo
|
||||
}
|
||||
return ns
|
||||
},
|
||||
getTextMode: tag => {
|
||||
getTextMode: ({ tag }) => {
|
||||
if (tag === 'textarea') {
|
||||
return TextModes.RCDATA
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user