d0d3a64bd6
* prevent downgrades during update check * detect bun and use npm instead * detect missing tsconfig during init and print helpful error * add changeset * add links to dev worker started message * allow users to add custom pkg manager args during init * update changeset * fix links in unsupported terminals * deprecate terminalLink * update changeset
11 lines
338 B
TypeScript
11 lines
338 B
TypeScript
declare module "terminal-link" {
|
|
export interface Options {
|
|
fallback?: ((text: string, url: string) => string) | boolean;
|
|
}
|
|
|
|
/**
|
|
* @deprecated The default fallback is broken in some terminals. Please use `cliLink` instead.
|
|
*/
|
|
export default function terminalLink(text: string, url: string, options?: Options): string;
|
|
}
|