If the alternative to:
var Foo = require('foo');
is:
import Foo from 'foo';
What is the alternative to:
var Bar = require('foo').batz
Could it be:
import {batz} from 'foo' ?
Question&Answers:osIf the alternative to:
var Foo = require('foo');
is:
import Foo from 'foo';
What is the alternative to:
var Bar = require('foo').batz
Could it be:
import {batz} from 'foo' ?
Question&Answers:os