Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = BigClass
- function BigClass () {}
- require('./expansion') // I've tried moving this about, to no avail
- BigClass.prototype.doAThing = function () {
- console.log(`I did a thing`)
- this.doAnotherThing() // Intellisense doesn't suggest this as an option - but it's legit
- }
- const BigClass = require('./index')
- BigClass.prototype.doAnotherThing = function () {
- console.log(`I did another thing`)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement