diff --git a/package.json b/package.json index 23ceb22..2ef129c 100644 --- a/package.json +++ b/package.json @@ -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/" diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..fc70688 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,2 @@ +declare function plugin(options?: { className?: string, target?: 'modern' | 'legacy' }): Function +export = plugin