diff --git a/packages/builders/__tests__/components/textInput.test.ts b/packages/builders/__tests__/components/textInput.test.ts index 44b711200..45708cdda 100644 --- a/packages/builders/__tests__/components/textInput.test.ts +++ b/packages/builders/__tests__/components/textInput.test.ts @@ -104,7 +104,7 @@ describe('Text Input Components', () => { }); test('GIVEN valid input THEN valid JSON outputs are given', () => { - const textInputData: APITextInputComponent = { + const textInputData = { type: ComponentType.TextInput, label: 'label', custom_id: 'custom id', @@ -114,7 +114,7 @@ describe('Text Input Components', () => { value: 'value', required: false, style: TextInputStyle.Paragraph, - }; + } satisfies APITextInputComponent; expect(new TextInputBuilder(textInputData).toJSON()).toEqual(textInputData); expect(