mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Update types to work with Node16 module resolution (#12097)
* Update types to work with Node16 module resolution * Update changelog
This commit is contained in:
parent
3fa8ab1793
commit
bbe3fca424
@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Handle variable colors that have variable fallback values ([#12049](https://github.com/tailwindlabs/tailwindcss/pull/12049))
|
||||
- Batch reading content files to prevent `too many open files` error ([#12079](https://github.com/tailwindlabs/tailwindcss/pull/12079))
|
||||
- Skip over classes inside `:not(…)` when nested in an at-rule ([#12105](https://github.com/tailwindlabs/tailwindcss/pull/12105))
|
||||
- Update types to work with `Node16` module resolution ([#12097](https://github.com/tailwindlabs/tailwindcss/pull/12097))
|
||||
|
||||
## [3.3.3] - 2023-07-13
|
||||
|
||||
|
||||
10
types/index.d.ts
vendored
10
types/index.d.ts
vendored
@ -1,7 +1,11 @@
|
||||
import { PluginCreator } from 'postcss'
|
||||
import type { PluginCreator } from 'postcss'
|
||||
import type { Config } from './config.d'
|
||||
|
||||
declare const plugin: PluginCreator<string | Config | { config: string | Config }>
|
||||
|
||||
export { Config }
|
||||
export default plugin
|
||||
declare type _Config = Config
|
||||
declare namespace plugin {
|
||||
export type { _Config as Config }
|
||||
}
|
||||
|
||||
export = plugin
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user