Skip to content

Commit

Permalink
refactor(iges): address TS strictNullChecks flag
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 7, 2019
1 parent 9a1b92e commit 995f5d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/iges/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const formatTerminate = (doc: IGESDocument) =>
0
);

const formatStatus = (s: EntityStatus) =>
const formatStatus = (s: Partial<EntityStatus>) =>
[s.blank || 0, s.subord || 0, s.usage || 0, s.hierarchy || 0]
.map($Z2)
.join("");
Expand Down Expand Up @@ -224,7 +224,7 @@ const formatParams = (
const addEntity = (
doc: IGESDocument,
type: EntityType,
entry: Partial<DictEntry>,
entry: Partial<DictEntry> | null,
params: Param[],
opts: Partial<EntityOpts> = {}
) => {
Expand Down

0 comments on commit 995f5d2

Please sign in to comment.