Skip to content

Commit

Permalink
fix: improve type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
bconnorwhite committed Sep 30, 2020
1 parent d33f92a commit 689c92a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"postversion": "git push",
"prepublishOnly": "yarn run build"
},
"devDependencies": {
"@bconnorwhite/bob": "^2.0.1",
"@types/marked": "^1.1.0"
},
"dependencies": {
"@types/marked": "^1.1.0",
"marked": "^1.1.1"
},
"devDependencies": {
"@bconnorwhite/bob": "^2.0.1"
}
}
5 changes: 3 additions & 2 deletions source/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { lexer, TokensList } from "marked";
import { lexer, TokensList, Token } from "marked";
import { readFile, readFileSync } from "read-file-safe";

export async function readMarkdownString(path: string) {
Expand Down Expand Up @@ -29,5 +29,6 @@ export function readMarkdownSync(path: string) {
}

export {
TokensList
TokensList,
Token
}

0 comments on commit 689c92a

Please sign in to comment.