mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Adopt prefix private with _ in markdown extension (#165088)
This commit is contained in:
@@ -10,11 +10,11 @@ export class InMemoryDocument implements ITextDocument {
|
||||
|
||||
constructor(
|
||||
public readonly uri: vscode.Uri,
|
||||
private readonly contents: string,
|
||||
private readonly _contents: string,
|
||||
public readonly version = 0,
|
||||
) { }
|
||||
|
||||
getText(): string {
|
||||
return this.contents;
|
||||
return this._contents;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user