Skip to content

Commit 6e31bc6

Browse files
committed
fix: error TS6137: Cannot import type declaration files. Consider importing 'express' instead of '@types/express'
for more info see microsoft/TypeScript#16472
1 parent ed81e6a commit 6e31bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import * as e from '@types/express';
2+
import * as e from 'express';
33

44
declare namespace ExpressRequestLanguage {
55
interface Cookie {

0 commit comments

Comments
 (0)