socket.io
socket.io copied to clipboard
Change 'import express = require("express");' to correct TS syntax
The kind of change this PR does introduce
- [x] a bug fix
- [ ] a new feature
- [ ] an update to the documentation
- [ ] a code change that improves performance
- [ ] other
Current behavior
import express = require("express")
New behavior
import express, { type Request } from "express";
Other information (e.g. related issues)
I don't think this is right. Don't you need to set allowSyntheticDefaultImports to true in that case?
Closed due to inactivity, please reopen if needed.