Skip to content

Commit

Permalink
feat: Add types to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Badin authored and Martin Badin committed Jan 14, 2022
1 parent b8f685b commit b6e7179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"license": "MIT",
"main": "dist/htmlhint.js",
"types": "src/core/core",
"module": "dist/core/core.js",
"bin": {
"htmlhint": "./bin/htmlhint"
Expand Down
2 changes: 1 addition & 1 deletion src/core/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ Object.keys(HTMLRules).forEach((key) => {
HTMLHint.addRule(HTMLRules[key])
})

export { HTMLRules, Reporter, HTMLParser }
export { HTMLRules, Reporter, HTMLParser, Hint, Rule, Ruleset }

0 comments on commit b6e7179

Please sign in to comment.