Skip to content

Commit 731b54c

Browse files
Add typescript types (#22)
* Add typescript types * Update changelog
1 parent 0fdf555 commit 731b54c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
- Add typescript types ([#22](https://github.com/tailwindlabs/tailwindcss-line-clamp/pull/22))
13+
814
## [0.4.0] - 2022-04-27
915

1016
This release of `@tailwindcss/line-clamp` is designed for Tailwind CSS v3.0+, and is not compatible with earlier versions.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@tailwindcss/line-clamp",
33
"version": "0.4.0",
44
"main": "src/index.js",
5+
"types": "src/index.d.ts",
56
"license": "MIT",
67
"repository": "https://github.com/tailwindlabs/tailwindcss-line-clamp",
78
"publishConfig": {

src/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function plugin(): Function
2+
export = plugin

0 commit comments

Comments
 (0)