diff --git a/src/generators/server-side-rendering/visitors/Comment.ts b/src/generators/server-side-rendering/visitors/Comment.ts index 84d5c0fa7f2c..a944e892ac95 100644 --- a/src/generators/server-side-rendering/visitors/Comment.ts +++ b/src/generators/server-side-rendering/visitors/Comment.ts @@ -1,3 +1,7 @@ +import { SsrGenerator } from '../index'; +import Block from '../Block'; +import { Node } from '../../../interfaces'; + export default function visitComment( generator: SsrGenerator, block: Block, diff --git a/src/interfaces.ts b/src/interfaces.ts index 36c0ff28635f..07692991bb76 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -62,9 +62,7 @@ export interface CompileOptions { css?: boolean; store?: boolean; - ssr?: { - preserveComments?: boolean | false; - }; + preserveComments?: boolean | false; onerror?: (error: Error) => void; onwarn?: (warning: Warning) => void;