In my Angular 13.x / Typescript 4.x project I have a reference to a node_module @types\prosemirror-schema-list
In it the code uses require :
I added import OrderedMapWORKS from 'orderedmap'; to show it can work.
Given I can't edit the node_module, why would require not work but import from does?
Is there something I can specify in my tsconfig to make it work?