When a binding's @scope has the same name as a module, the binding's scope is shadowed by the module:
module URL = {
@val @scope("URL")
external revokeObjectURL: string => unit = "revokeObjectURL"
}
URL.revokeObjectURL("some url")
let URL = {};
URL.revokeObjectURL("some url");