mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fix webview type name casing
This commit is contained in:
parent
d0bc1c3fe4
commit
52c293a050
|
@ -155,7 +155,7 @@ export class MarkdownPreview {
|
|||
private readonly _onDisposeEmitter = new vscode.EventEmitter<void>();
|
||||
public readonly onDispose = this._onDisposeEmitter.event;
|
||||
|
||||
private readonly _onDidChangeViewStateEmitter = new vscode.EventEmitter<vscode.WebViewOnDidChangeViewStateEvent>();
|
||||
private readonly _onDidChangeViewStateEmitter = new vscode.EventEmitter<vscode.WebviewOnDidChangeViewStateEvent>();
|
||||
public readonly onDidChangeViewState = this._onDidChangeViewStateEmitter.event;
|
||||
|
||||
public get resource(): vscode.Uri {
|
||||
|
|
4
src/vs/vscode.proposed.d.ts
vendored
4
src/vs/vscode.proposed.d.ts
vendored
|
@ -532,7 +532,7 @@ declare module 'vscode' {
|
|||
readonly localResourceRoots?: Uri[];
|
||||
}
|
||||
|
||||
export interface WebViewOnDidChangeViewStateEvent {
|
||||
export interface WebviewOnDidChangeViewStateEvent {
|
||||
readonly viewColumn: ViewColumn;
|
||||
readonly active: boolean;
|
||||
}
|
||||
|
@ -581,7 +581,7 @@ declare module 'vscode' {
|
|||
/**
|
||||
* Fired when the webview's view state changes.
|
||||
*/
|
||||
readonly onDidChangeViewState: Event<WebViewOnDidChangeViewStateEvent>;
|
||||
readonly onDidChangeViewState: Event<WebviewOnDidChangeViewStateEvent>;
|
||||
|
||||
/**
|
||||
* Post a message to the webview content.
|
||||
|
|
|
@ -29,8 +29,8 @@ export class ExtHostWebview implements vscode.Webview {
|
|||
public readonly onDisposeEmitter = new Emitter<void>();
|
||||
public readonly onDidDispose: Event<void> = this.onDisposeEmitter.event;
|
||||
|
||||
public readonly onDidChangeViewStateEmitter = new Emitter<vscode.WebViewOnDidChangeViewStateEvent>();
|
||||
public readonly onDidChangeViewState: Event<vscode.WebViewOnDidChangeViewStateEvent> = this.onDidChangeViewStateEmitter.event;
|
||||
public readonly onDidChangeViewStateEmitter = new Emitter<vscode.WebviewOnDidChangeViewStateEvent>();
|
||||
public readonly onDidChangeViewState: Event<vscode.WebviewOnDidChangeViewStateEvent> = this.onDidChangeViewStateEmitter.event;
|
||||
|
||||
constructor(
|
||||
handle: WebviewHandle,
|
||||
|
|
Loading…
Reference in a new issue