diff --git a/CHANGELOG.md b/CHANGELOG.md index 018ee20..43d80b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Added + +- Add typescript types ([#22](https://github.com/tailwindlabs/tailwindcss-line-clamp/pull/22)) + ## [0.4.0] - 2022-04-27 This release of `@tailwindcss/line-clamp` is designed for Tailwind CSS v3.0+, and is not compatible with earlier versions. diff --git a/package.json b/package.json index fef5c60..f56c180 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@tailwindcss/line-clamp", "version": "0.4.0", "main": "src/index.js", + "types": "src/index.d.ts", "license": "MIT", "repository": "https://github.com/tailwindlabs/tailwindcss-line-clamp", "publishConfig": { diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..1f93420 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,2 @@ +declare function plugin(): Function +export = plugin