Skip to content

Commit

Permalink
Add typescript types (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Sep 1, 2022
1 parent c1f01be commit 57f5022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "0.5.4",
"description": "A Tailwind CSS plugin for automatically styling plain HTML content with beautiful typographic defaults.",
"main": "src/index.js",
"types": "src/index.d.ts",
"files": [
"src/*.js",
"dist/"
Expand Down
2 changes: 2 additions & 0 deletions src/index.d.ts
@@ -0,0 +1,2 @@
declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function
export = plugin

1 comment on commit 57f5022

@vercel
Copy link

@vercel vercel bot commented on 57f5022 Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.