The safest solution would be:
import express = require('express');
This translates to:
var express = require('express');
Official import documentation is required here .
I believe typescript expects an export named "default" to function as your code above, judging by the last paragraph here .
A side note that looks like typescript the newest version (typescript @ 1.8.0-dev.20151229 at the time of writing) will trigger a warning about a compilation attempt that will try to use the missing default:
index.ts(1,8): error TS1192: Module '"express"' has no default export.
In Note 2, a Microsoft example using the syntax import * as express from 'express'; can be found here here . When targeting the commonjs module (as they are in this example ), this will also move to var express = require('express'); .
dvlsg source share