Skip to content

Commit

Permalink
Correctly constrain T in TerminalLinkProvider
Browse files Browse the repository at this point in the history
Part of #91290
  • Loading branch information
Tyriar committed Jun 24, 2020
1 parent 4c51b89 commit 756aebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ declare module 'vscode' {
terminal: Terminal;
}

export interface TerminalLinkProvider<T = TerminalLink> {
export interface TerminalLinkProvider<T extends TerminalLink = TerminalLink> {
/**
* Provide terminal links for the given context.
* @param context Information about what links are being provided for.
Expand Down

0 comments on commit 756aebf

Please sign in to comment.