internal module defns for node and express
internal module defns for node and express
Merge branch 'master' of https://github.com/paypac/DefinitelyTyped
Update typeahead.d.ts

added support for call typeahead(options, dataset) where options include hint, highlight and minLength all of which are optional.
Update typeahead-tests.ts
Update typeahead-tests.ts

Adding tests for including options
Merge branch 'master' of https://github.com/yortus/DefinitelyTyped
referenceable types throughout node and express

All node modules and classes can be referenced by type name. External
module support remains unchanged, but now static type information is
available for all node modules and types without needing to go through
the external module definitions.

Similar for express.
var-interface-module pattern now consistent

Everything (in both node and express) now follows the pattern:
```
declare module "external-name" {
import _ = InternalName.InnerName;
export = _;
}
declare module InternalName {
export var InnerName: InnerName;
export interface InnerName {
// functions and vars in here
}
export module InnerName {
// Must be non-instantiated - so only interfaces and modules in here
}
}

```
WIP: all passing (bar assert) but needs more...

Need to remove superfluous typings - eg NodeJs.QueryString.escape should
not be valid
Fixed assert, added comments, rechecked all

- Added comments explaining the rationale/method of exposing into both
'type' and 'member' declaration spaces (see TLR 2.3) with example
- Made the pattern consistent in both definition files
- Fixed "assert" by adding 'export function Assert...'
- Triple-checked with DT tests and additional tests
EventEmitter can be new()d
pure internal modules + external shim

- The top-level modules Express and NodeJs are now 'pure' ie
non-instantiated, due to removal of all vars, functions, and classes
- Where the above change breaks existing typings which access types via
external module references, a shim has been added to make this continue
working unchanged
- A single namespace _ExternalShim_ is added but this can be reused
across all typings that need shimming
Re-added get(string):string to express
Moved get(string)=>sting to Application
Merge pull request #1931 from yortus/node-express-referenceable-types

Node/express referenceable types