From d4dd015ffd40c57bde003bb24e8c28adb5d270c5 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sat, 24 Mar 2018 12:20:53 -0400 Subject: [PATCH] fix interfaces --- src/generators/server-side-rendering/visitors/Comment.ts | 4 ++++ src/interfaces.ts | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/generators/server-side-rendering/visitors/Comment.ts b/src/generators/server-side-rendering/visitors/Comment.ts index 84d5c0fa7f..a944e892ac 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 36c0ff2863..07692991bb 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;