Skip to content

Commit

Permalink
chore: doc for type usage
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 8, 2020
1 parent 00b005d commit 6b06eff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ Put this in your `package.json`
and use it inside your package like this:

```js
let renderer: (markdownText: string, grammar: string) => Promise<string>
import type {MarkdownService} from "atom-ide-base"

let renderer: MarkdownService["renderer"]

/**
* retrieves a reference to the markdown rendering service that should be used
Expand Down

0 comments on commit 6b06eff

Please sign in to comment.