Skip to content

Commit

Permalink
Merge pull request xtermjs#5067 from Tyriar/base64
Browse files Browse the repository at this point in the history
Correct addon-clipboard ctor types
  • Loading branch information
Tyriar authored Jun 4, 2024
2 parents a3024a9 + 2b716cd commit f77a763
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/addon-clipboard/typings/addon-clipboard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ declare module '@xterm/addon-clipboard' {
export class ClipboardAddon implements ITerminalAddon {
/**
* Creates a new clipboard addon.
* @param base64 An optional base64 encoder/decoder.
* @param provider An optional clipboard provider.
*/
constructor(provider?: IClipboardProvider);
constructor(base64?: IBase64, provider?: IClipboardProvider);

/**
* Activates the addon
Expand Down

0 comments on commit f77a763

Please sign in to comment.