Used "@ts-expect-error" instead of "@ts-ignore"

This commit is contained in:
JubaAzul 2025-01-15 10:30:45 -05:00
parent 15805e2e7e
commit 3c9b14dd9d
4 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,5 @@
// @ts-expect-error
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import { MultipleChoice } from '../../../../components/GiftTemplate/templates'; import { MultipleChoice } from '../../../../components/GiftTemplate/templates';

View file

@ -1,3 +1,5 @@
// @ts-expect-error
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import Numerical from '../../../../components/GiftTemplate/templates/Numerical'; import Numerical from '../../../../components/GiftTemplate/templates/Numerical';

View file

@ -1,3 +1,5 @@
// @ts-expect-error
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer'; import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer';

View file

@ -1,3 +1,5 @@
// @ts-expect-error
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import TrueFalse from '../../../../components/GiftTemplate/templates'; import TrueFalse from '../../../../components/GiftTemplate/templates';