Skip to content
Myr

Fix typo (#985)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Fix typo * Fix the tsconfig.json library name in the comment Used TypeScript documentation as a source of truth: https://www.typescriptlang.org/tsconfig#lib

authored by ddrone · committed by GitHub · parent 1394260 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/types/types-external.ts+2 added-2 removed
6 unmodified lines
7/** Object types that should never be mapped */8type AtomicObject = Function | Promise<any> | Date | RegExp910/**11 * If the lib "ES2105.collections" is not included in tsconfig.json,11 * If the lib "ES2015.Collection" is not included in tsconfig.json,12 * types like ReadonlyArray, WeakMap etc. fall back to `any` (specified nowhere)13 * or `{}` (from the node types), in both cases entering an infite recursion in13 * or `{}` (from the node types), in both cases entering an infinite recursion in14 * pattern matching type mappings15 * This type can be used to cast these types to `void` in these cases.16 */17export type IfAvailable<T, Fallback = void> =
239 unmodified lines