Skip to content

Commit 65fa232

Browse files
committed
Fix
1 parent 79b1f06 commit 65fa232

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/app/hardware/portal/transaction.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
import { ITransaction } from './ITransaction';
22

3+
export interface ITransaction {
4+
id: number;
5+
name: string;
6+
description: string;
7+
amount: number;
8+
date: Date;
9+
type: string;
10+
category: string;
11+
account: string;
12+
status: string;
13+
createdAt: Date;
14+
updatedAt: Date;
15+
}
16+
317
export class Transaction implements ITransaction {
418
id: number;
519
name: string;

src/app/hardware/portal/tx.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { NFC, GetStatus as GetStatusType } from 'libportal-react-native';
2-
import { Bitcoin as BitcoinType } from 'libportal-react-native/bitcoin';import { multiply } from '../utils/math';export class Hww {
1+
import { NFC } from 'libportal-react-native';
2+
import { GetStatus as GetStatusType } from 'libportal-react-native/dist/types';import { Bitcoin as BitcoinType } from 'libportal-react-native;'
3+
export class Hww {
34
static multiply(a: number, b: number): Promise<number> {
45
return multiply(a, b);
56
}

0 commit comments

Comments
 (0)