Skip to content

Commit 013d60c

Browse files
committedJan 6, 2022
style: fix import order
1 parent 3717b99 commit 013d60c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎source/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
import rateLimit from './lib.js'
55

66
export * from './types.js'
7-
export default rateLimit // eslint-disable-line unicorn/prefer-export-from
7+
// https://github.com/timocov/dts-bundle-generator/issues/182
8+
// eslint-disable-next-line unicorn/prefer-export-from
9+
export default rateLimit

‎source/lib.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import { Request, Response, NextFunction, RequestHandler } from 'express'
55

6+
import MemoryStore from './memory-store.js'
67
import {
78
Options,
89
AugmentedRequest,
@@ -11,7 +12,6 @@ import {
1112
Store,
1213
IncrementResponse,
1314
} from './types.js'
14-
import MemoryStore from './memory-store.js'
1515

1616
/**
1717
* Type guard to check if a store is legacy store.

0 commit comments

Comments
 (0)
Please sign in to comment.