vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Ilya Mochalov
abc2bcfb85
node: improved EventEmitter's definition with this-typing
2016-02-25 02:10:08 +05:00
Aya Morisawa
4b802c338b
Remove trailing whitespaces
2016-01-27 19:27:29 +09:00
Masahiro Wakame
2e9d5db50e
Merge pull request #7197 from chrootsu/node-events
...
node: signatures of module "events" have been changed
2015-12-23 17:15:14 +09:00
Klaus Reimer
1b1ee18ef9
Fix sourceRoot and destinationRoot and add fs API
2015-12-22 09:13:14 +01:00
Klaus Reimer
2321f2da77
Just use any instead of explicit types
...
Inquirer also supports some other stuff like separator objects as choices.
It gets too complicated to properly type it because its unclear what other
stuff can be used as choices so I just use `any` now.
2015-12-18 17:05:26 +01:00
Klaus Reimer
33e3ab99b0
"generators" is deprecated now. Use "Base" and "NamedBase" directly.
2015-12-18 16:10:09 +01:00
Klaus Reimer
818e6cf2ff
More typing corrections and added tests
2015-12-18 15:07:14 +01:00
Klaus Reimer
fec3ea4268
Add some missing yeoman methods and fix some wrong ones
2015-12-18 13:28:36 +01:00
Ilya Mochalov
f8b59970de
node: implementations of the interface "EventEmitter" in other modules have been fixed
2015-12-18 02:05:59 +05:00
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