(type: string)
| 44 | | ArrowFunctionExpression; |
| 45 | |
| 46 | function isFunctionType(type: string): boolean { |
| 47 | return ( |
| 48 | type === 'FunctionDeclaration' || |
| 49 | type === 'FunctionExpression' || |
| 50 | type === 'ObjectMethod' || |
| 51 | type === 'ClassMethod' || |
| 52 | type === 'ArrowFunctionExpression' |
| 53 | ); |
| 54 | } |
| 55 | |
| 56 | export default class Script { |
| 57 | private code: string; |
no outgoing calls
no test coverage detected
searching dependent graphs…