From 4a8f5841761c3d2929aaa23ace0663eac02be738 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 23 Oct 2023 15:03:28 -0400 Subject: [PATCH] Add types for the nesting plugin (#12269) * Add types for the nesting plugin * Update changelog --- CHANGELOG.md | 1 + nesting/index.d.ts | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 nesting/index.d.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index fee89110beb4..b7ccabbde893 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser ([#12179](https://github.com/tailwindlabs/tailwindcss/pull/12179)) - Fix crash when watching renamed files on FreeBSD ([#12193](https://github.com/tailwindlabs/tailwindcss/pull/12193)) - Allow plugins from a parent document to be used in an iframe ([#12208](https://github.com/tailwindlabs/tailwindcss/pull/12208)) +- Add types for `tailwindcss/nesting` ([#12269](https://github.com/tailwindlabs/tailwindcss/pull/12269)) ### Added diff --git a/nesting/index.d.ts b/nesting/index.d.ts new file mode 100644 index 000000000000..72ea4644b6e3 --- /dev/null +++ b/nesting/index.d.ts @@ -0,0 +1,4 @@ +import type { AcceptedPlugin, PluginCreator } from 'postcss' + +declare const plugin: PluginCreator +export = plugin