Skip to content

Commit

Permalink
Add types for the nesting plugin (#12269)
Browse files Browse the repository at this point in the history
* Add types for the nesting plugin

* Update changelog
  • Loading branch information
thecrypticace committed Oct 23, 2023
1 parent bcfb38d commit 4a8f584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions nesting/index.d.ts
@@ -0,0 +1,4 @@
import type { AcceptedPlugin, PluginCreator } from 'postcss'

declare const plugin: PluginCreator<AcceptedPlugin | string | void>
export = plugin

0 comments on commit 4a8f584

Please sign in to comment.