param { string } message export function throwInDev ( message ) { if ( ! ( process . env . NODE_ENV === 'production' ) ) { throw message ; } } todo param { string } expected param { Object } given param { string } module export function throwTypeError ( expected , given , module ? ) { throwInDev ( new TypeError ( `${ expected || 'parameter' } should be a ${ expected }, was given
"""
${ typeof given }
"""
${ given && given . toString ( ) }
"""
${ module && `you should use ${ module } module functions to create and transform ${ module }` }` ) ) ; }