Skip to content

Commit

Permalink
feat: Update TargetKind on Scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevastyan committed Sep 4, 2024
1 parent 43403c1 commit 55cce69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion injectable/lib/src/injectable_annotations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ const order = Order(0);

/// Used to annotate dependencies which are
/// registered under a different scope than main-scope
@Target({TargetKind.classType})
@Target({TargetKind.classType, TargetKind.method, TargetKind.getter})
class Scope {
/// name of the scope
final String name;
Expand Down

0 comments on commit 55cce69

Please sign in to comment.