Skip to content

Commit 7b3de61

Browse files
authored
Fix missing blocklist type (#10239)
* Fix missing `blocklist` type * Update changelog
1 parent 5d82824 commit 7b3de61

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333
- Allow direct nesting in `root` or `@layer` nodes ([#10229](https://github.com/tailwindlabs/tailwindcss/pull/10229))
3434
- Don't prefix classes in arbitrary variants ([#10214](https://github.com/tailwindlabs/tailwindcss/pull/10214))
3535
- Fix perf regression when checking for changed content ([#10234](https://github.com/tailwindlabs/tailwindcss/pull/10234))
36+
- Fix missing `blocklist` member in the `Config` type ([#10239](https://github.com/tailwindlabs/tailwindcss/pull/10239))
3637

3738
### Changed
3839

types/config.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ type SafelistConfig =
5353
variants?: string[]
5454
}[]
5555

56+
// Blocklist related config
57+
type BlocklistConfig = string[]
58+
5659
// Presets related config
5760
type PresetsConfig = Config[]
5861

@@ -349,6 +352,7 @@ interface OptionalConfig {
349352
prefix: Partial<PrefixConfig>
350353
separator: Partial<SeparatorConfig>
351354
safelist: Partial<SafelistConfig>
355+
blocklist: Partial<BlocklistConfig>
352356
presets: Partial<PresetsConfig>
353357
future: Partial<FutureConfig>
354358
experimental: Partial<ExperimentalConfig>

0 commit comments

Comments
 (0)