We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49d841 commit d3674e0Copy full SHA for d3674e0
src/containers/currency-converter-container/components/currency-converter.tsx
@@ -8,8 +8,8 @@ interface LocalProps {
8
currencies: Object;
9
baseCurrency: string;
10
targetCurrency: string;
11
- baseValue: string;
12
- targetValue: string;
+ baseValue: number;
+ targetValue: number;
13
onBaseCurrencyChange: (newCurrency: string) => void;
14
onTargetCurrencyChange: (newCurrency: string) => void;
15
onBaseValueChange: (newCurrency: string) => void;
src/typings/app.ts src/typings/app.d.tssrc/typings/app.ts renamed to src/typings/app.d.ts
@@ -1,6 +1,6 @@
1
interface FluxStandardAction<PayloadType> {
2
- type?: string;
3
- payload?: PayloadType;
+ type: string;
+ payload: PayloadType;
4
error?: boolean;
5
meta?: any;
6
}
0 commit comments