We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export function getExtensionValue(resource: any, ...urls: string[]): string | undefined
getExtensionValue() says it will return string | undefined but it actually returns other types aswell:
getExtensionValue()
string | undefined
bot.extension = [ { url: 'url', valueBoolean: false, }, ]; const val = getExtensionValue(bot, ...); <- returns boolean
bot.extension = [ { url: 'url', valueString: "test", }, ]; const val = getExtensionValue(bot, ...); <- returns string
The text was updated successfully, but these errors were encountered:
codyebberson
No branches or pull requests
getExtensionValue()
says it will returnstring | undefined
but it actually returns other types aswell:The text was updated successfully, but these errors were encountered: