mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Merge pull request #3226 from mikaturunen/master
Fixed the 'os' modules tmpdir function declaration.
This commit is contained in:
commit
6eff3558be
12
node/node-0.11.d.ts
vendored
12
node/node-0.11.d.ts
vendored
@ -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 {
|
||||
|
||||
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user