use Moose::Util::TypeConstraints;
extends 'Moose::Meta::TypeConstraint';
+with 'MooseX::Meta::TypeConstraint::Role::Structured';
=head1 NAME
=cut
-has 'signature' => (
- is=>'ro',
+has '+signature' => (
isa=>'HashRef[Moose::Meta::TypeConstraint]',
- required=>1,
);
=head2 optional_signature