File tree Expand file tree Collapse file tree
src/languageservice/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ export class YAMLSchemaService extends JSONSchemaService {
507507 return super . getOrAddSchemaHandle ( id , unresolvedSchemaContent ) ;
508508 }
509509
510- loadSchema ( schemaUri : string ) : Thenable < UnresolvedSchema > {
510+ loadSchema ( schemaUri : string ) : Promise < UnresolvedSchema > {
511511 const requestService = this . requestService ;
512512 return super . loadSchema ( schemaUri ) . then ( ( unresolvedJsonSchema : UnresolvedSchema ) => {
513513 // If json-language-server failed to parse the schema, attempt to parse it as YAML instead.
@@ -570,7 +570,7 @@ export class YAMLSchemaService extends JSONSchemaService {
570570 return super . getRegisteredSchemaIds ( filter ) ;
571571 }
572572
573- getResolvedSchema ( schemaId : string ) : Thenable < ResolvedSchema > {
573+ getResolvedSchema ( schemaId : string ) : Promise < ResolvedSchema > {
574574 return super . getResolvedSchema ( schemaId ) ;
575575 }
576576
You can’t perform that action at this time.
0 commit comments