Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Commit

Permalink
fix(csv-entry): fix wrong valuable type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingyu Woo committed Aug 23, 2018
1 parent 23962f3 commit 12cbd62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CsvEntry/CsvEntryModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function setNamespace(
namespace: string,
namespaces: NamespaceModel[]
) {
const matchedNamespace: NamespaceModel = namespaces.find(
const matchedNamespace: NamespaceModel | undefined = namespaces.find(
s => s.name === namespace
);
if (matchedNamespace) {
Expand Down Expand Up @@ -82,7 +82,7 @@ function getBankKeyByNamespace(
let bankKey: number | undefined;

if (namespaces) {
const matchedNamespace: NamespaceModel = namespaces.find(
const matchedNamespace: NamespaceModel | undefined = namespaces.find(
s => s.name === namespace
);
if (matchedNamespace) bankKey = matchedNamespace.bankKey;
Expand Down

0 comments on commit 12cbd62

Please sign in to comment.