Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/php-language-features/src/features/validationProvider.ts')
-rw-r--r--extensions/php-language-features/src/features/validationProvider.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/php-language-features/src/features/validationProvider.ts b/extensions/php-language-features/src/features/validationProvider.ts
index acc6beaf2b5..162efdaa787 100644
--- a/extensions/php-language-features/src/features/validationProvider.ts
+++ b/extensions/php-language-features/src/features/validationProvider.ts
@@ -23,7 +23,7 @@ export class LineDecoder {
private stringDecoder: StringDecoder;
private remaining: string | null;
- constructor(encoding: string = 'utf8') {
+ constructor(encoding: BufferEncoding = 'utf8') {
this.stringDecoder = new StringDecoder(encoding);
this.remaining = null;
}