Skip to content

Commit 21f5bf7

Browse files
Add typescript types (#33)
1 parent 573353e commit 21f5bf7

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Remove `dist` folder and related dependencies ([#29](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/pull/29))
13+
- Add typescript types ([#33](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/pull/33))
1314

1415
## [0.4.0] - 2021-12-09
1516

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@tailwindcss/aspect-ratio",
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-aspect-ratio",
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)