How to pass jquery as dependency to a script that has the module type added to the tag programmatically?

How to pass jquery as dependency to a script that has the module type added to the tag programmatically?