I want to create a class in one file, import and extend it in another. Something like:
/* someclass.js */
export class SomeClass {}
/* somesubclass.js */
import SomeClass from './someclass'
class SomeSubClass extends SomeClass {}
Is it possible or is there any better way to do this (e.g. using node.js module.exports
)?