Commit Graph
14 Commits
Author SHA1 Message Date
Poul Kjeldager Sørensen 64d834e93e last type error 2015-10-27 03:23:17 +01:00
Poul Kjeldager Sørensen 6c4ef6671d A few more type errors 2015-10-27 03:17:42 +01:00
Poul Kjeldager Sørensen 13a9213fe5 added return types on methods 2015-10-27 03:14:03 +01:00
Poul Kjeldager Sørensen 9ce874b712 added types for making build happy 2015-10-27 03:11:14 +01:00
Poul Kjeldager Sørensen 76666791b1 added gruntfile property and interface 2015-10-27 03:07:05 +01:00
Poul Kjeldager Sørensen a81c1166f1 added async,prompt and appname 2015-10-27 02:40:15 +01:00
Poul Kjeldager Sørensen 6a7c067667 the configs for option is all optional 2015-10-27 02:24:28 +01:00
Poul Kjeldager Sørensen b54c439218 made option config argument optional 2015-10-27 02:19:49 +01:00
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