Skip to content

Commit

Permalink
Add 'LocationLink','Declaration'
Browse files Browse the repository at this point in the history
  • Loading branch information
smart-bo authored and msujew committed Oct 12, 2021
1 parent 6bc49ae commit 5f811c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/plugin/src/theia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7320,6 +7320,18 @@ declare module '@theia/plugin' {
constructor(uri: Uri, rangeOrPosition: Range | Position);
}

/**
* Represents the connection of two locations. Provides additional metadata over normal {@link Location locations},
* including an origin range.
*/
export type LocationLink = DefinitionLink;

/**
* The declaration of a symbol representation as one or many {@link Location locations}
* or {@link LocationLink location links}.
*/
export type Declaration = Location | Location[] | LocationLink[];

/**
* The event that is fired when diagnostics change.
*/
Expand Down

0 comments on commit 5f811c8

Please sign in to comment.