diff --git a/.gitignore b/.gitignore index 75c9cc26..61a70430 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules dev coverage declaration/out/src +.DS_Store diff --git a/src/index.ts b/src/index.ts index 4bcd5ed3..570257de 100644 --- a/src/index.ts +++ b/src/index.ts @@ -334,7 +334,7 @@ function enumerableRecord( 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,