The Definitely Typed repository demonstrates the importation in this manner:
import * as lunr from 'lunr';
However, when attempting to use it in Stackblitz, it results in the following error:
lunr is not a function
Any ideas on how to resolve this issue? Here is the Stackblitz link: