How do I extend the type of express to accommodate my custom attribute?
import * as express from 'express';
const e = express();
e.config = {};
t.ts(3,3): error TS2339: Property 'config' does not exist on type 'Express'.
How do I extend the type of express to accommodate my custom attribute?
import * as express from 'express';
const e = express();
e.config = {};
t.ts(3,3): error TS2339: Property 'config' does not exist on type 'Express'.