I find myself using the VSS/Controls/Dialogs in Web Extensión in tfs
I have index.ts
/// <reference types="vss-web-extension-sdk" />
import Dialogs = require("VSS/Controls/Dialogs");
Dialogs.showMessageDialog("Hello Word");
Error

in versión jQuery UI Widget 1.11.4 no error is displayed
in versión jQuery UI Widget 1.13.1 error id displayed
Checking the difference in versions of Widget.js fails in this snippet in version 1.11.4 it was not
function processClassString( classes, checkOption ) {
var current, i;
for ( i = 0; i < classes.length; i++ ) {
current = that.classesElementLookup[ classes[ i ] ] || $();
if ( options.add ) {
bindRemoveEvent();
current = $( $.uniqueSort( current.get().concat( options.element.get() ) ) );
} else {
current = $( current.not( options.element ).get() );
}
that.classesElementLookup[ classes[ i ] ] = current;
full.push( classes[ i ] );
if ( checkOption && options.classes[ classes[ i ] ] ) {
full.push( options.classes[ classes[ i ] ] );
}
}
}
I don't know if I should check something about promises in typescript
Internally the SDK is pointing to the version that fails
https://dev.azure.com/{organization}/_static/tfs/**M208_20220803.13**/_scripts/TFS/min/jQueryUI/widget.js
Microsoft recently updated the Jquery UI library but it fails
days ago it worked when the SDK loaded widget.js from this url
ttps://dev.azure.com/{organization}/_static/tfs/M207_20220803.13/_scripts/TFS/min/jQueryUI/widget.js
thanks