uuid() と lint (#5288)
* Import only v4 uuid, uuid() without version is deprecated * Add Missing semicolon
This commit is contained in:
parent
6060c6d56e
commit
59493a0cd9
21 changed files with 37 additions and 37 deletions
2
src/@types/lookup-dns-cache.d.ts
vendored
2
src/@types/lookup-dns-cache.d.ts
vendored
|
|
@ -1,5 +1,5 @@
|
|||
declare module 'lookup-dns-cache' {
|
||||
import { LookupOneOptions, LookupAllOptions, LookupOptions, LookupAddress } from 'dns'
|
||||
import { LookupOneOptions, LookupAllOptions, LookupOptions, LookupAddress } from 'dns';
|
||||
|
||||
function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
|
||||
function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue