mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
replace internal module to namespace
This commit is contained in:
Vendored
+2
-2
@@ -3,7 +3,7 @@
|
||||
// Definitions by: MIZUNE Pine <https://github.com/pine613/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module TextEncoding {
|
||||
declare namespace TextEncoding {
|
||||
interface TextDecoderOptions {
|
||||
fatal?: boolean;
|
||||
ignoreBOM?: boolean;
|
||||
@@ -42,4 +42,4 @@ declare var TextDecoder: {
|
||||
declare var TextEncoder: {
|
||||
(utfLabel?: string, options?: TextEncoding.TextEncoderOptions): TextEncoding.TextEncoder;
|
||||
new (utfLabel?: string, options?: TextEncoding.TextEncoderOptions): TextEncoding.TextEncoder;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user