Expand an object or array type, iterating recursively over all of the elements down to string/number/symbol in order to turn a type containing others into the most basic form, except those that match the Ignore type.
Mainly used to help with making docs and IDEs display intelligible types, even for the most spaghetti of types and code.
Expand an object or array type, iterating recursively over all of the elements down to string/number/symbol in order to turn a type containing others into the most basic form, except those that match the Ignore type. Mainly used to help with making docs and IDEs display intelligible types, even for the most spaghetti of types and code.