/**
* narrows the type to remove undefined
*
* ref
* - https://stackoverflow.com/a/63045455/3068233
*/exporttypeNotNull<T> = T extendsnull ? never : T;
/**
* checks whether the value is not undefined
*/exportdeclareconstisNotNull: <T>(val: T) => val is NotNull<T>;