File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4242 "semantic-release" : " 19.0.5" ,
4343 "sinon" : " 14.0.0" ,
4444 "ts-jest" : " 28.0.7" ,
45- "typescript" : " 4.7 .4"
45+ "typescript" : " ^4.8 .4"
4646 },
4747 "repository" : {
4848 "type" : " git" ,
Original file line number Diff line number Diff line change 11import assert from 'assert' ;
22import lru from 'tiny-lru' ;
3- import { Reader } from 'mmdb-lib' ;
3+ import { Reader , Response } from 'mmdb-lib' ;
44import fs from './fs' ;
55import ip from './ip' ;
66import isGzip from './is-gzip' ;
@@ -17,7 +17,7 @@ export interface OpenOpts {
1717 watchForUpdatesHook ?: Callback ;
1818}
1919
20- export const open = async < T > (
20+ export const open = async < T extends Response > (
2121 filepath : string ,
2222 opts ?: OpenOpts ,
2323 cb ?: Callback
Original file line number Diff line number Diff line change 88 "declaration" : true ,
99 "diagnostics" : true ,
1010 "esModuleInterop" : true ,
11- "extendedDiagnostics" : true ,
11+ "extendedDiagnostics" : false ,
1212 "listEmittedFiles" : true ,
1313 "module" : " commonjs" ,
1414 "removeComments" : true ,
You can’t perform that action at this time.
0 commit comments