I'm trying to import some json files that are within sub-folders of a library inside node_modules, and typescript is saying it can't find the sub-folder.
The library is cldr-data, and the specific path I need is cldr-data/supplemental/likelySubtags.json.
I've tried the following imports:
import likelySubtags from 'cldr-data/supplemental/likelySubtags.json';
import likelySubtags from './../../node_modules/cldr-data/supplemental/likelySubtags.json';
but both give the error: [ts] Cannot find module. The strange thing is it can find cldr-data, it just can't find the sub-folder supplemental. I'm not sure how to make it find supplemental/.