mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
replace internal module to namespace
This commit is contained in:
4
node/node-0.11.d.ts
vendored
4
node/node-0.11.d.ts
vendored
@@ -77,7 +77,7 @@ declare var Buffer: {
|
||||
* GLOBAL INTERFACES *
|
||||
* *
|
||||
************************************************/
|
||||
declare module NodeJS {
|
||||
declare namespace NodeJS {
|
||||
export interface ErrnoException extends Error {
|
||||
errno?: number;
|
||||
code?: string;
|
||||
@@ -1247,7 +1247,7 @@ declare module "util" {
|
||||
|
||||
declare module "assert" {
|
||||
function internal (value: any, message?: string): void;
|
||||
module internal {
|
||||
namespace internal {
|
||||
export class AssertionError implements Error {
|
||||
name: string;
|
||||
message: string;
|
||||
|
||||
Reference in New Issue
Block a user