Skip to content

Commit

Permalink
fix dartdoc (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Jul 15, 2024
1 parent 3b36276 commit ffa373b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source_gen/lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import 'package:yaml/yaml.dart';
/// typedef VoidFunc = void Function();
/// ```
///
/// This function will return `'VoidFunc'`, unlike [DartType.element.name].
/// This function will return `'VoidFunc'`, unlike [DartType.element]`.name`.
String typeNameOf(DartType type) {
final aliasElement = type.alias?.element;
if (aliasElement != null) {
Expand Down

0 comments on commit ffa373b

Please sign in to comment.