2
Answers

how to add image to file type in typescript

siva nathan

siva nathan

4y
691
1
Hi all,
 
am having image file path need to be added in file type like below
 
private file:File;
this.file = "../assets/image/image.jpg"
 
how can I achieve this or how can I assign file bytes into it to display the image
Answers (2)