mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Added missing base64 character encoding to BufferEncoding global. (#16658)
This commit is contained in:
2
types/node/index.d.ts
vendored
2
types/node/index.d.ts
vendored
@@ -114,7 +114,7 @@ declare var SlowBuffer: {
|
||||
|
||||
|
||||
// Buffer class
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex";
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex";
|
||||
interface Buffer extends NodeBuffer { }
|
||||
|
||||
/**
|
||||
|
||||
2
types/node/v4/index.d.ts
vendored
2
types/node/v4/index.d.ts
vendored
@@ -103,7 +103,7 @@ declare var SlowBuffer: {
|
||||
|
||||
|
||||
// Buffer class
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex";
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "binary" | "hex";
|
||||
interface Buffer extends NodeBuffer {}
|
||||
|
||||
/**
|
||||
|
||||
2
types/node/v6/index.d.ts
vendored
2
types/node/v6/index.d.ts
vendored
@@ -99,7 +99,7 @@ declare var SlowBuffer: {
|
||||
|
||||
|
||||
// Buffer class
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex";
|
||||
type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "latin1" | "binary" | "hex";
|
||||
interface Buffer extends NodeBuffer { }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user