Skip to content

Commit 5dc6bd2

Browse files
committed
Fix type errors
1 parent 0d4e7c7 commit 5dc6bd2

File tree

1 file changed

+4
-0
lines changed
  • packages/tailwindcss-language-service/src/util/rewriting

1 file changed

+4
-0
lines changed

packages/tailwindcss-language-service/src/util/rewriting/index.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ test('replacing CSS variables with their fallbacks (when they have them)', () =>
2525

2626
let state: State = {
2727
enabled: true,
28+
features: [],
2829
designSystem: {
2930
theme: { prefix: null } as any,
3031
resolveThemeValue: (name) => map.get(name) ?? null,
@@ -102,6 +103,7 @@ test('recursive theme replacements', () => {
102103

103104
let state: State = {
104105
enabled: true,
106+
features: [],
105107
designSystem: {
106108
theme: { prefix: null } as any,
107109
resolveThemeValue: (name) => map.get(name) ?? null,
@@ -142,6 +144,7 @@ test('recursive theme replacements (inlined)', () => {
142144

143145
let state: State = {
144146
enabled: true,
147+
features: [],
145148
designSystem: {
146149
theme: { prefix: null } as any,
147150
resolveThemeValue: (name) => map.get(name) ?? null,
@@ -184,6 +187,7 @@ test('Inlining calc expressions using the design system', () => {
184187

185188
let state: State = {
186189
enabled: true,
190+
features: [],
187191
designSystem: {
188192
theme: { prefix: null } as any,
189193
resolveThemeValue: (name) => map.get(name) ?? null,

0 commit comments

Comments
 (0)