Skip to content

Commit 62ecaa7

Browse files
author
Kubit
committed
Fix typescript error
1 parent bef29a7 commit 62ecaa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/inputCurrency/__tests__/inputCurrency.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33

44
import { axe } from 'jest-axe';
55

6-
import { InputContentPosition, InputState } from '@/components/input/types';
6+
import { FormatNumber, InputContentPosition, InputState } from '@/components/input/types';
77
import { renderProvider } from '@/tests/renderProvider/renderProvider.utility';
88
import { POSITIONS } from '@/types/positions';
99

@@ -28,7 +28,7 @@ const format = {
2828
style: 'decimal',
2929
maximumFractionDigits: 3,
3030
minimumFractionDigits: 1,
31-
};
31+
} as FormatNumber;
3232

3333
describe('New Input Currency Component', () => {
3434
test('Should render InputCurrency component', async () => {

0 commit comments

Comments
 (0)