提交 475ac42d 编写于 作者: J Johannes Rieken

rename method (fix typo) #40210

上级 072f94fb
......@@ -35,7 +35,7 @@ export class MainThreadDecorations implements MainThreadDecorationsShape {
label,
onDidChange: emitter.event,
provideDecorations: (uri) => {
return this._proxy.$providerDecorations(handle, uri).then(data => {
return this._proxy.$provideDecorations(handle, uri).then(data => {
if (!data) {
return undefined;
}
......
......@@ -721,7 +721,7 @@ export interface ExtHostDebugServiceShape {
export type DecorationData = [number, boolean, string, string, ThemeColor, string];
export interface ExtHostDecorationsShape {
$providerDecorations(handle: number, uri: UriComponents): TPromise<DecorationData>;
$provideDecorations(handle: number, uri: UriComponents): TPromise<DecorationData>;
}
export interface ExtHostWindowShape {
......
......@@ -38,7 +38,7 @@ export class ExtHostDecorations implements ExtHostDecorationsShape {
});
}
$providerDecorations(handle: number, data: UriComponents): TPromise<DecorationData> {
$provideDecorations(handle: number, data: UriComponents): TPromise<DecorationData> {
const provider = this._provider.get(handle);
return asWinJsPromise(token => provider.provideDecoration(URI.revive(data), token)).then(data => {
return data && <DecorationData>[data.priority, data.bubble, data.title, data.abbreviation, data.color, data.source];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册