DEV Community

Discussion on: Developing an Express Application Using TypeScript

Collapse
 
heritiermwalila profile image
Heritier Mwalila

Hey Ali, thanks for the post I've learned something as I am new to typescript.

I just found that if you want to import express instance you must do it this way

import express from 'express' not import * as express from 'express'

Typescript detect that as an error.