(path: string)
| 509 | } |
| 510 | |
| 511 | export function fromFile(path: string): ImageSource { |
| 512 | console.log('fromFile() is deprecated. Use ImageSource.fromFileSync() instead.'); |
| 513 | |
| 514 | return ImageSource.fromFileSync(path); |
| 515 | } |
| 516 | |
| 517 | export function fromData(data: any): ImageSource { |
| 518 | console.log('fromData() is deprecated. Use ImageSource.fromDataSync() instead.'); |
nothing calls this directly
no test coverage detected