using flexsearch

so flexsearch has a index.d.ts thats broken and hasn't been touched in 2ish years and instead you should use @types/flexsearch but i have no idea on how to override deps so i can use the Document interface
Types and Type Declarations | Deno Docs
One of the design principles of Deno is no non-standard module resolution. When
it did thanks! well i now have more issues? deno_emit seems to not like flexsearch's document class since it converts it to a instance of the dom document idk how to fix it it looks like deno's typehecker understands everything but deno_emit doesn't bundle flexsearch correctly could someone point me in the right direction on how to fix it?
do you have an example of what isn't working?
I ended up rewriting and using lunr which does work out of the box so yeah it seems flexsearch is undergoing a big rewrite and they aren't really maintaing it properly :/

Looking for more? Join the community!

Recommended Posts
Does Deno third party modules support to wrap NPM in importmapHere is my first module: https://deno.land/x/lume_fluent@1.0.0-alpha My importmap for the module isHelp using DenoMaileri'm trying to use it but i get Deno is not defined when i try to send the email, any tips? how wouldDebug all tests in VSCodeHi everyone. I was hoping to use the equivalent of "deno test" in such a way that I can set a breakMost complete Deno Rust runtime?I’m trying to embed the Deno runtime into my Rust program. I’m looking for the most “complete” Deno Language server crashing in VSC outside of deno projectsHow to write a new project template scriptHey, I've written a small game engine to create text adventures in Deno. The resulting project is a Seamlessly include TailwindcssIs there a recommended way of achieving this at the moment? What is the cleneast way of including tatidy up `deno.lock`Hey, is there something like `go mod tidy` (https://golangbyexample.com/go-mod-tidy/) in Deno? The bSyntaxError on Web3 packageI'm trying to use this module in my project https://deno.land/x/web3@v0.11.1 and i'm using the code how to document oak apiWhat’s the best way to document an oak api. Like swagger or some kind of thatweb based cmsIs there any web based cms system like word press based on deno or fresh?Minimal code for Preact SSRWhat's the actual code to do some Preact SSR with Deno? For example something simple like a counterHow to use recent Tensorflow.JS? TF from deno.land/x/tensorflow@v0.21 appears to work, but it's oldI've only tried the TF package from deno.land/x/tensorflow@v0.21 with the readme page example. I'm hDeno Deploy isolate startup timeis this startup time normal? https://media.discordapp.net/attachments/936130919163641856/11757670644