The types for TNotifier are e.g. success(message: string, timeout: number): void, which doesn't make sense since timeout has a defined default and user doesn't change it very often on a per-use basis IMO.
Also, most of the basic examples from the README.md don't even conform to these typings, and wouldn't pass TS compilation.
The types for
TNotifier
are e.g.success(message: string, timeout: number): void
, which doesn't make sense sincetimeout
has a defined default and user doesn't change it very often on a per-use basis IMO.Also, most of the basic examples from the
README.md
don't even conform to these typings, and wouldn't pass TS compilation.