Importing a typescript module

I am trying to require the p5.dom library for p5.js – e.g. using the version on cloudflare. I tried the module require debugger notebook, which suggests:

require('p5@0.6.1/lib/addons/p5.dom.js')

…but this results in undefined in the Observable notebook. Adding .catch() => .catch(() => window.p5dom also results in undefined.

@tom – does this look the same as the libR.js issue above, or is this a different issue?