soywiz-archive / typescript-node-definitions

TypeScript's typings for some popular node.js modules
207 stars 93 forks source link

express3.d.ts is failing to compile #26

Open ronaldwidha opened 11 years ago

ronaldwidha commented 11 years ago

one error:

typescript-node-definitions/express3.d.ts(21,18): error TS1003: Identifier expected.

which is on this line:

export function (): Application;

is the function expecting a name?

tested on ts 0.9.0.1, node 0.8.11

soywiz commented 11 years ago

I have to update some definitions to 0.9, since the export function () syntax doesn't work anymore. Probably with 0.9 I will be able to properly reproduce the expected express exporting behaviour.

ronaldwidha commented 11 years ago

read: http://stackoverflow.com/questions/16386640/typescript-0-9-module-functions

ronaldwidha commented 11 years ago

You should probably consider cutting a branch in terms of ts version compatibility. latest node.d.ts is breaking with 0.8.3.