mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
[json] adopt SnippetString (#15573) and update to TS 2.0
This commit is contained in:
@@ -14,7 +14,7 @@ import * as nls from 'vscode-nls';
|
||||
let localize = nls.loadMessageBundle();
|
||||
|
||||
namespace VSCodeContentRequest {
|
||||
export const type: RequestType<string, string, any> = { get method() { return 'vscode/content'; } };
|
||||
export const type: RequestType<string, string, any, any> = { get method() { return 'vscode/content'; }, _: null };
|
||||
}
|
||||
|
||||
export interface ISchemaAssociations {
|
||||
@@ -22,7 +22,7 @@ export interface ISchemaAssociations {
|
||||
}
|
||||
|
||||
namespace SchemaAssociationNotification {
|
||||
export const type: NotificationType<ISchemaAssociations> = { get method() { return 'json/schemaAssociations'; } };
|
||||
export const type: NotificationType<ISchemaAssociations, any> = { get method() { return 'json/schemaAssociations'; }, _: null };
|
||||
}
|
||||
|
||||
interface IPackageInfo {
|
||||
|
||||
7
extensions/json/client/src/typings/ref.d.ts
vendored
7
extensions/json/client/src/typings/ref.d.ts
vendored
@@ -3,9 +3,4 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
/// <reference path='../../../../../src/vs/vscode.d.ts'/>
|
||||
/// <reference path='../../../../../src/typings/mocha.d.ts'/>
|
||||
/// <reference path='../../../../../extensions/node.d.ts'/>
|
||||
/// <reference path='../../../../../extensions/lib.core.d.ts'/>
|
||||
/// <reference path='../../../../../extensions/declares.d.ts'/>
|
||||
/// <reference path='../../../node_modules/vscode-languageclient/lib/main.d.ts'/>
|
||||
/// <reference path='../../../../../src/vs/vscode.d.ts'/>
|
||||
Reference in New Issue
Block a user