Files
nicktrn d0d3a64bd6 v3: misc CLI improvements (#1173)
* 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
2024-06-28 15:51:17 +01:00

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;
}