Skip to content

Commit

Permalink
fix: Support for FunctionType.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Feb 5, 2024
1 parent 148e521 commit 71cc4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/katana_router_builder/lib/value/parameter_value.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ParamaterValue {
"`$name` is a prohibited word. This word cannot be set as a parameter. Please specify another name.",
);
}
type = element.type as InterfaceType;
type = element.type;

if (_pageParamChecker.hasAnnotationOfExact(element)) {
pageParamName = _pageParamChecker
Expand Down Expand Up @@ -76,7 +76,7 @@ class ParamaterValue {
/// Parameter Type.
///
/// パラメーターのタイプ。
late final InterfaceType type;
late final DartType type;

/// Name of parameter.
///
Expand Down

0 comments on commit 71cc4dc

Please sign in to comment.