Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[fixed] the interface declaration for Markup to make the input valu…
Browse files Browse the repository at this point in the history
…e for `htmlToJSX`, `markdownToHTML` and `markdownToJSX` optional
  • Loading branch information
thealjey committed Feb 4, 2016
1 parent 1b6399c commit 02c9096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interfaces/webcompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ declare module 'webcompiler' {

declare class Markup {
constructor(...transformers: Array<Transformer>): void;
htmlToJSX(html: string): Array<any>;
markdownToHTML(markdown: string): string;
markdownToJSX(markdown: string): Array<any>;
htmlToJSX(html: ?string): Array<any>;
markdownToHTML(markdown: ?string): string;
markdownToJSX(markdown: ?string): Array<any>;
}

declare function watch(dir: string, type: string, callback: () => void): void;
Expand Down

0 comments on commit 02c9096

Please sign in to comment.