
committed by
Igor Minar

parent
8fdb1e09c1
commit
5bc869cb24
@ -20,4 +20,14 @@ export function stringify(value: any): string {
|
||||
if (typeof value == 'string') return value;
|
||||
if (value == null) return '';
|
||||
return '' + value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that throws a "not implemented" error so it's clear certain
|
||||
* behaviors/methods aren't yet ready.
|
||||
*
|
||||
* @returns Not implemented error
|
||||
*/
|
||||
export function notImplemented(): Error {
|
||||
return new Error('NotImplemented');
|
||||
}
|
||||
|
Reference in New Issue
Block a user