clarify the deprecation notice - #37
This commit is contained in:
parent
c8381cef1b
commit
ad530b6242
2 changed files with 2 additions and 2 deletions
2
dist/main.js
vendored
2
dist/main.js
vendored
|
@ -26641,7 +26641,7 @@ Please pipe the document into a Node stream.\
|
||||||
BtnAction.PROCESSING_TEXT = 'Processing…';
|
BtnAction.PROCESSING_TEXT = 'Processing…';
|
||||||
BtnAction.ERROR_TEXT = '❌Download Failed!';
|
BtnAction.ERROR_TEXT = '❌Download Failed!';
|
||||||
const deprecationNotice = (btnName) => {
|
const deprecationNotice = (btnName) => {
|
||||||
return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.`;
|
return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)`;
|
||||||
};
|
};
|
||||||
const normalizeUrlInput = (url) => {
|
const normalizeUrlInput = (url) => {
|
||||||
if (typeof url === 'function')
|
if (typeof url === 'function')
|
||||||
|
|
|
@ -88,7 +88,7 @@ export namespace BtnAction {
|
||||||
export const ERROR_TEXT = '❌Download Failed!'
|
export const ERROR_TEXT = '❌Download Failed!'
|
||||||
|
|
||||||
const deprecationNotice = (btnName: string): string => {
|
const deprecationNotice = (btnName: string): string => {
|
||||||
return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.`
|
return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Promisable<T> = T | Promise<T>
|
type Promisable<T> = T | Promise<T>
|
||||||
|
|
Loading…
Reference in a new issue