Skip to content

Commit a392078

Browse files
committed
chore: remove excess types
1 parent 9341d16 commit a392078

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/renderer.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// TODO fix types
2-
3-
import { TextEditor, TextEditorElement } from "atom"
1+
import { TextEditor } from "atom"
42
import marked from "marked"
53

64
/**
@@ -95,9 +93,9 @@ function internalRender(markdownText: string, scopeName: string = "text.plain"):
9593

9694
/**
9795
* renders the markdown text to html
98-
* @param {string} markdownText the markdown text to render
99-
* @param {string} grammar the default grammar used in code sections that have no specific grammar set
100-
* @return {Promise<string>} the inner HTML text of the rendered section
96+
* @param markdownText the markdown text to render
97+
* @param grammar the default grammar used in code sections that have no specific grammar set
98+
* @return the inner HTML text of the rendered section
10199
*/
102100
export async function render(markdownText: string, grammar: string): Promise<string> {
103101
const html = await internalRender(markdownText, grammar)

0 commit comments

Comments
 (0)