Mark that preferredEncoding can be undefined / not initialized

Part of #78168
This commit is contained in:
Matt Bierner
2019-10-04 14:58:42 -07:00
parent a7ddb97e91
commit 7e70b1dda0
11 changed files with 18 additions and 18 deletions

View File

@@ -499,7 +499,7 @@ export interface IEncodingSupport {
/**
* Gets the encoding of the input if known.
*/
getEncoding(): string;
getEncoding(): string | undefined;
/**
* Sets the encoding for the input for saving.