The `TypeErrors` object methods
public get(): TypeError<ErrorId> | undefined Returns the TypeError instance of the given unique identification id if set, otherwise undefinedarrow-up-right.
TypeError
id
undefined
public getErrors(): { [Key in Id]: TypeError<Key> | undefined } Returns an objectarrow-up-right of set type errors, where the key is a unique identification.
object
public set(): this Sets the TypeError object with the message built from the given required problem, fix, id, and optional type on the given or stored template under the given id.
problem
fix
type
template
Last updated 2 years ago