Added missing base64 character encoding to BufferEncoding global. (#16658)

This commit is contained in:
Josh Glazebrook
2017-06-02 09:22:33 -05:00
committed by Andy
parent ad99b8e217
commit 991b4dfb62
3 changed files with 3 additions and 3 deletions

View File

@@ -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 { }
/**

View File

@@ -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 {}
/**

View File

@@ -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 { }
/**