Skip to content

Commit

Permalink
fix interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Mar 24, 2018
1 parent 61d3ab0 commit d4dd015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/generators/server-side-rendering/visitors/Comment.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { SsrGenerator } from '../index';
import Block from '../Block';
import { Node } from '../../../interfaces';

export default function visitComment(
generator: SsrGenerator,
block: Block,
Expand Down
4 changes: 1 addition & 3 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d4dd015

Please sign in to comment.