| 38 | type NodeFileStream = EventEmitter |
| 39 | |
| 40 | export interface NodeFile { |
| 41 | blob?: Blob |
| 42 | buffer?: NodeBuffer |
| 43 | jsdom?: boolean |
| 44 | lastModifiedDate?: Date |
| 45 | name: string |
| 46 | path?: string |
| 47 | size?: number |
| 48 | stat?: NodeFileStat |
| 49 | stream?: NodeFileStream |
| 50 | type?: string |
| 51 | } |
| 52 | |
| 53 | function invokeIfFunction ( listener: unknown, args: unknown[], context: unknown ) { |
| 54 | if ( typeof listener === 'function' ) { |
nothing calls this directly
no outgoing calls
no test coverage detected