I'm working on a Angular project, I have a set of files in the assets folder without extension for the file. Ex - File1, File2, File3 and so on.. these files doesn't have extensions to it such as .json or .txt. I need to access the content in these files. How can I access these files and get the data inside it? Kindly help!
TIA
I tried using import file from '../../assets/file1'
in the component. But getting this error -
Cannot find module '../../assets/file1' or its corresponding type declarations
```.