import type * as ts from 'typescript' ; import { TypescriptHelper } from '../../descriptor/helper/helper' ; export function assertTypeArgumentPresence ( node ) { if ( ! TypescriptHelper . hasTypeArguments ( node ) ) { const mockFunction = node . getText ( ) ; throw new Error ( `It seems you've called \`${ mockFunction }' without specifying a type argument to mock. 
          Please refer to the documentation on how to use \`${ mockFunction }': 
          https://github.com/Typescript-TDD/ts-auto-mock#quick-overview` ) ; } }