module.exports
var config = {...};
module.exports = config;
var config = require('../config').config;
/* src/Animal.ts */
export default Animal {
constructor(){}
}
/* src/Cat.ts */
import Animal from './Animal';
export default Cat extends Animal {
constructor(){
super();
}
}
/* index.ts */
import Cat from 'src/Cat';
let kitty = new Cat();