[json] adopt SnippetString (#15573) and update to TS 2.0

This commit is contained in:
Martin Aeschlimann
2016-11-25 16:37:45 +01:00
parent 63dbeee871
commit 93c1334282
14 changed files with 66 additions and 193 deletions

View File

@@ -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 {