Open zavr-1 opened 5 years ago
import def, * as C from '../context'
is just
const C = def = require('../context');
is has to be
const def = require('../context'); const C = { ...def };
so the C cannot be a function it must be an object.
is just
is has to be
so the C cannot be a function it must be an object.