To make use of this, click the green Code button near the top, then select Download zip. Then create a folder in the root of your ExtendScript project folder called types and extract the zip into that ...
A helper Class for quick ScriptUI dialogs in Adobe ExtendScript with UMD wrapper for cross-compatability with AMD and node.js require. - MaxJohnson/extendscript_dialogs ...