fix: bail stringification for slots

fix #1281, close #1286
This commit is contained in:
Evan You
2020-06-10 14:31:51 -04:00
parent fbaf52ae9f
commit 9b5d13e598
4 changed files with 59 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
import { ElementNode, Namespace, TemplateChildNode } from './ast'
import { ElementNode, Namespace, TemplateChildNode, ParentNode } from './ast'
import { TextModes } from './parse'
import { CompilerError } from './errors'
import {
@@ -53,7 +53,8 @@ export interface ParserOptions {
export type HoistTransform = (
children: TemplateChildNode[],
context: TransformContext
context: TransformContext,
parent: ParentNode
) => void
export interface TransformOptions {