Sergio Morchón Poveda
022d3ea843
Extend NodeJS.EventEmitter
...
As seen here: https://github.com/yeoman/generator/blob/master/lib/base.js
``` JavaScript
var Base = module.exports = function Base(args, options) {
events.EventEmitter.call(this);
```
2015-02-24 17:57:02 +01:00
Sergio Morchón Poveda
293abd9b04
Fixes
...
Namedbase -> NamedBase
static Base.extend
2015-02-24 17:40:25 +01:00
Sergio Morchón Poveda
b000c51642
Updated module "generators" with classes
...
Change the un-inheritable interfaces Base: IBase and NamedBase: INamedBase by the new clases Base and NamedBase.
Now you can do like this:
``` typescript
class WflGenerator extends yo.generators.Base {
}
```
2015-02-24 17:26:25 +01:00
Sergio Morchón Poveda
0a2199ac29
Interfaces & classes
...
Interfaces with "new" now are Interfaces without "new" and clases with constructor.
2015-02-24 17:21:04 +01:00
Sergio Morchón Poveda
be9cde5cf9
Base classes to inherit from them (step 1 of X)
...
Add a base class
2015-02-24 17:09:42 +01:00
armorik83
f4c08ac9ea
add yeoman-generator/yeoman-generator.d.ts
2014-11-06 00:12:16 +09:00