diff --git a/src/types/types-external.ts b/src/types/types-external.ts index d9cf27f3..2ea98473 100644 --- a/src/types/types-external.ts +++ b/src/types/types-external.ts @@ -8,9 +8,9 @@ type PrimitiveType = number | string | boolean type AtomicObject = Function | Promise | Date | RegExp /** - * If the lib "ES2105.collections" is not included in tsconfig.json, + * If the lib "ES2015.Collection" is not included in tsconfig.json, * types like ReadonlyArray, WeakMap etc. fall back to `any` (specified nowhere) - * or `{}` (from the node types), in both cases entering an infite recursion in + * or `{}` (from the node types), in both cases entering an infinite recursion in * pattern matching type mappings * This type can be used to cast these types to `void` in these cases. */