Merge pull request #3226 from mikaturunen/master

Fixed the 'os' modules tmpdir function declaration.
This commit is contained in:
Masahiro Wakame 2014-11-26 20:08:05 +09:00
commit 6eff3558be
2 changed files with 7 additions and 7 deletions

12
node/node-0.11.d.ts vendored
View File

@ -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
View File

@ -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;