Type Alias deno_core::ValidateImportAttributesCb
source · pub type ValidateImportAttributesCb = Box<dyn Fn(&mut HandleScope<'_>, &HashMap<String, String>)>;
Expand description
Callback to validate import attributes. If the validation fails and exception
should be thrown using scope.throw_exception()
.
Aliased Type§
struct ValidateImportAttributesCb(/* private fields */);