Skip to content

Commit

Permalink
exact . type -> strict; ignore '.DS_Store'
Browse files Browse the repository at this point in the history
  • Loading branch information
tgfisher4 authored and gcanti committed Dec 3, 2023
1 parent 90a3d04 commit 4abb81c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
dev
coverage
declaration/out/src
.DS_Store
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function enumerableRecord<D extends Mixed, C extends Mixed>(
for (let i = 0; i < len; i++) {
props[keys[i]] = codomain
}
const exactCodec = exact(type(props, name), name)
const exactCodec = strict(props, name)

return new DictionaryType(
name,
Expand Down

0 comments on commit 4abb81c

Please sign in to comment.