diff --git a/CHANGELOG.md b/CHANGELOG.md index f88c80db6054..2edfa43f34ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improve normalisation of `calc()`-like functions ([#11686](https://github.com/tailwindlabs/tailwindcss/pull/11686)) - Skip `calc()` normalisation in nested `theme()` calls ([#11705](https://github.com/tailwindlabs/tailwindcss/pull/11705)) - Fix incorrectly generated CSS when using square brackets inside arbitrary properties ([#11709](https://github.com/tailwindlabs/tailwindcss/pull/11709)) +- Make `content` optional for presets in TypeScript types ([#11730](https://github.com/tailwindlabs/tailwindcss/pull/11730)) ## [3.3.3] - 2023-07-13 diff --git a/types/config.d.ts b/types/config.d.ts index bb40c8b71a10..6d171ceed3ee 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -46,13 +46,13 @@ type PrefixConfig = string type SeparatorConfig = string // Safelist related config -type SafelistConfig = (string | { pattern: RegExp; variants?: string[] })[] +type SafelistConfig = string | { pattern: RegExp; variants?: string[] } // Blocklist related config -type BlocklistConfig = string[] +type BlocklistConfig = string // Presets related config -type PresetsConfig = Config[] +type PresetsConfig = Partial // Future related config type FutureConfigValues = @@ -352,9 +352,9 @@ interface OptionalConfig { important: Partial prefix: Partial separator: Partial - safelist: Partial - blocklist: Partial - presets: Partial + safelist: Array + blocklist: Array + presets: Array future: Partial experimental: Partial darkMode: Partial