diff --git a/src/vs/platform/instantiation/common/instantiation.ts b/src/vs/platform/instantiation/common/instantiation.ts index 6b44bbf29e62fe7fd7a0efbd07c3e96aacb03cef..17eae95cce9c33170d45af43d4a213e349d0fdf8 100644 --- a/src/vs/platform/instantiation/common/instantiation.ts +++ b/src/vs/platform/instantiation/common/instantiation.ts @@ -41,23 +41,23 @@ export interface IConstructorSignature3 { } export interface IConstructorSignature4 { - new (first: A1, second: A2, third: A3, forth: A4, ...services: { _serviceBrand: any; }[]): T; + new (first: A1, second: A2, third: A3, fourth: A4, ...services: { _serviceBrand: any; }[]): T; } export interface IConstructorSignature5 { - new (first: A1, second: A2, third: A3, forth: A4, fifth: A5, ...services: { _serviceBrand: any; }[]): T; + new (first: A1, second: A2, third: A3, fourth: A4, fifth: A5, ...services: { _serviceBrand: any; }[]): T; } export interface IConstructorSignature6 { - new (first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6, ...services: { _serviceBrand: any; }[]): T; + new (first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, ...services: { _serviceBrand: any; }[]): T; } export interface IConstructorSignature7 { - new (first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6, seventh: A7, ...services: { _serviceBrand: any; }[]): T; + new (first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, ...services: { _serviceBrand: any; }[]): T; } export interface IConstructorSignature8 { - new (first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8, ...services: { _serviceBrand: any; }[]): T; + new (first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8, ...services: { _serviceBrand: any; }[]): T; } export interface ServicesAccessor { @@ -81,23 +81,23 @@ export interface IFunctionSignature3 { } export interface IFunctionSignature4 { - (accessor: ServicesAccessor, first: A1, second: A2, third: A3, forth: A4): R; + (accessor: ServicesAccessor, first: A1, second: A2, third: A3, fourth: A4): R; } export interface IFunctionSignature5 { - (accessor: ServicesAccessor, first: A1, second: A2, third: A3, forth: A4, fifth: A5): R; + (accessor: ServicesAccessor, first: A1, second: A2, third: A3, fourth: A4, fifth: A5): R; } export interface IFunctionSignature6 { - (accessor: ServicesAccessor, first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6): R; + (accessor: ServicesAccessor, first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6): R; } export interface IFunctionSignature7 { - (accessor: ServicesAccessor, first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6, seventh: A7): R; + (accessor: ServicesAccessor, first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7): R; } export interface IFunctionSignature8 { - (accessor: ServicesAccessor, first: A1, second: A2, third: A3, forth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8): R; + (accessor: ServicesAccessor, first: A1, second: A2, third: A3, fourth: A4, fifth: A5, sixth: A6, seventh: A7, eigth: A8): R; } export const IInstantiationService = createDecorator('instantiationService'); diff --git a/src/vs/workbench/test/node/api/extHostApiCommands.test.ts b/src/vs/workbench/test/node/api/extHostApiCommands.test.ts index 9aecac170514b6edc630d95fda7983d524d0e36e..938952d2a10d20f4cab5ad5a2f615b3675f8b629 100644 --- a/src/vs/workbench/test/node/api/extHostApiCommands.test.ts +++ b/src/vs/workbench/test/node/api/extHostApiCommands.test.ts @@ -306,7 +306,7 @@ suite('ExtHostLanguageFeatureCommands', function () { let values = list.items; assert.ok(Array.isArray(values)); assert.equal(values.length, 4); - let [first, second, third, forth] = values; + let [first, second, third, fourth] = values; assert.equal(first.label, 'item1'); assert.equal(first.textEdit.newText, 'item1'); assert.equal(first.textEdit.range.start.line, 0); @@ -328,14 +328,14 @@ suite('ExtHostLanguageFeatureCommands', function () { assert.equal(third.textEdit.range.end.line, 0); assert.equal(third.textEdit.range.end.character, 6); - assert.equal(forth.label, 'item4'); - assert.equal(forth.textEdit, undefined); - assert.equal(forth.range.start.line, 0); - assert.equal(forth.range.start.character, 1); - assert.equal(forth.range.end.line, 0); - assert.equal(forth.range.end.character, 4); - assert.ok(forth.insertText instanceof types.SnippetString); - assert.equal((forth.insertText).value, 'foo$0bar'); + assert.equal(fourth.label, 'item4'); + assert.equal(fourth.textEdit, undefined); + assert.equal(fourth.range.start.line, 0); + assert.equal(fourth.range.start.character, 1); + assert.equal(fourth.range.end.line, 0); + assert.equal(fourth.range.end.character, 4); + assert.ok(fourth.insertText instanceof types.SnippetString); + assert.equal((fourth.insertText).value, 'foo$0bar'); }); }); });