mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Merge pull request #3226 from mikaturunen/master
Fixed the 'os' modules tmpdir function declaration.
This commit is contained in:
Vendored
+6
-6
@@ -465,7 +465,7 @@ declare module "zlib" {
|
||||
}
|
||||
|
||||
declare module "os" {
|
||||
export function tmpDir(): string;
|
||||
export function tmpdir(): string;
|
||||
export function hostname(): string;
|
||||
export function type(): string;
|
||||
export function platform(): string;
|
||||
@@ -767,13 +767,13 @@ declare module "dgram" {
|
||||
port: number;
|
||||
size: number;
|
||||
}
|
||||
|
||||
|
||||
interface AddressInfo {
|
||||
address: string;
|
||||
family: string;
|
||||
port: number;
|
||||
address: string;
|
||||
family: string;
|
||||
port: number;
|
||||
}
|
||||
|
||||
|
||||
export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
|
||||
|
||||
interface Socket extends events.EventEmitter {
|
||||
|
||||
Vendored
+1
-1
@@ -465,7 +465,7 @@ declare module "zlib" {
|
||||
}
|
||||
|
||||
declare module "os" {
|
||||
export function tmpDir(): string;
|
||||
export function tmpdir(): string;
|
||||
export function hostname(): string;
|
||||
export function type(): string;
|
||||
export function platform(): string;
|
||||
|
||||
Reference in New Issue
Block a user