Skip to content

Commit

Permalink
Add typescript types (#22)
Browse files Browse the repository at this point in the history
* Add typescript types

* Update changelog
  • Loading branch information
thecrypticace committed Sep 1, 2022
1 parent 0fdf555 commit 731b54c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare function plugin(): Function
export = plugin

0 comments on commit 731b54c

Please sign in to comment.