mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Add extend test
This commit is contained in:
1 parent
ca92a5b250
commit
047b1d34fd
1 file changed
+4
@@ -105,6 +105,10 @@ describe('EventEmitter', function tests() {
|
||||
/* rawr, i'm a beast */
|
||||
}
|
||||
|
||||
class BeastES6 extends EventEmitter3ImportedAsES6Module {
|
||||
/* rawr, i'm a beast */
|
||||
}
|
||||
|
||||
util.inherits(Beast, EventEmitter);
|
||||
|
||||
var moop = new Beast()
|
||||
|
||||
Reference in new issue
Block a user