[json] update dependencies & adopt

This commit is contained in:
Martin Aeschlimann
2017-01-17 23:08:24 +01:00
parent fa8a9424aa
commit 87ae03d980
9 changed files with 61 additions and 61 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, any> = { get method() { return 'vscode/content'; }, _: null };
export const type: RequestType<string, string, any, any> = new RequestType('vscode/content');
}
export interface ISchemaAssociations {
@@ -22,7 +22,7 @@ export interface ISchemaAssociations {
}
namespace SchemaAssociationNotification {
export const type: NotificationType<ISchemaAssociations, any> = { get method() { return 'json/schemaAssociations'; }, _: null };
export const type: NotificationType<ISchemaAssociations, any> = new NotificationType('json/schemaAssociations');
}
interface IPackageInfo {