From 4abb81c03bbab6d488cdef25280e85f0c9a6d9e1 Mon Sep 17 00:00:00 2001 From: Graham Fisher Date: Sun, 3 Dec 2023 12:02:47 -0500 Subject: [PATCH] exact . type -> strict; ignore '.DS_Store' --- .gitignore | 1 + src/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 75c9cc260..61a704309 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 4bcd5ed34..570257de6 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,