You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some people would expect CommonJS-style import bel = require('bel') to work, but alas, it doesn't, although the compiled code still works. The way the definition file is set up the only way to import the module without errors is via import bel from 'bel' which seems counter-intuitive.
Can we document import bel from 'bel'? Or add an export = line to make import bel = require('bel') work?
The text was updated successfully, but these errors were encountered:
Some people would expect CommonJS-style
import bel = require('bel')
to work, but alas, it doesn't, although the compiled code still works. The way the definition file is set up the only way to import the module without errors is viaimport bel from 'bel'
which seems counter-intuitive.Can we document
import bel from 'bel'
? Or add anexport =
line to makeimport bel = require('bel')
work?The text was updated successfully, but these errors were encountered: