Assets are things, that should not contain a code. If we want to have the data as an asset, then they should be in JSON format and downloaded using HttpClient. TS files, which are in assets should not be imported directly from application files.
The fastest fix would be to use JSON and use HttpClient to get them in runtime
Is this a bug, enhancement, or feature request?
Enhancement
Briefly describe your proposal.
Assets are things, that should not contain a code. If we want to have the data as an asset, then they should be in JSON format and downloaded using HttpClient. TS files, which are in
assets
should not be imported directly from application files. The fastest fix would be to use JSON and use HttpClient to get them in runtime