Skip to content

Commit

Permalink
fix: request default import error
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasvtiradentes committed Jan 9, 2024
1 parent 8ccbccd commit c115cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import request from 'request';
import * as request from 'request';
import { TRouteConfigs, parseRequestOptions } from './api_handler/parse_request_options';
import { handleRequest } from './api_handler/requests_handler';
import { INITIAL_CONFIGS, TAuthData, TRequestConfigs, TTicktickConfigs } from './configs';
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"strict": true,
"skipLibCheck": true,
"declaration": true,
"allowSyntheticDefaultImports": true
"esModuleInterop": true
},
"include": ["src"]
}

0 comments on commit c115cde

Please sign in to comment.