From 4dfb1e3f8776789a8680d791fc3a2bb5aefa0b98 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 20 Oct 2022 14:29:00 +0200 Subject: [PATCH] Fix missing `supports` in types (#9616) * add `supports` to types * update changelog --- CHANGELOG.md | 4 +++- stubs/defaultConfig.stub.js | 1 + types/config.d.ts | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33d40abaa..5f5bd398b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Fix missing `supports` in types ([#9616](https://github.com/tailwindlabs/tailwindcss/pull/9616)) ## [3.2.0] - 2022-10-19 diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 6b6931e54..d8e55eb4e 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -11,6 +11,7 @@ module.exports = { xl: '1280px', '2xl': '1536px', }, + supports: {}, colors: ({ colors }) => ({ inherit: colors.inherit, current: colors.current, diff --git a/types/config.d.ts b/types/config.d.ts index 0df362061..34e1621cf 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -84,6 +84,7 @@ type ScreensConfig = string[] | KeyValuePair interface ThemeConfig { // Responsiveness screens: ResolvableTo + supports: ResolvableTo> // Reusable base configs colors: ResolvableTo