From 21f5bf7454ab75486753c07afae4094a3a035d8a Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Thu, 1 Sep 2022 14:01:09 -0400 Subject: [PATCH] Add typescript types (#33) --- CHANGELOG.md | 1 + package.json | 1 + src/index.d.ts | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 src/index.d.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 25b2ff1..4477a00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Remove `dist` folder and related dependencies ([#29](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/pull/29)) +- Add typescript types ([#33](https://github.com/tailwindlabs/tailwindcss-aspect-ratio/pull/33)) ## [0.4.0] - 2021-12-09 diff --git a/package.json b/package.json index 711a4ae..410b08d 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "@tailwindcss/aspect-ratio", "version": "0.4.0", "main": "src/index.js", + "types": "src/index.d.ts", "license": "MIT", "repository": "https://github.com/tailwindlabs/tailwindcss-aspect-ratio", "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