commit | b251d14e06cda8ebd492e9b200b37496fbfdf82f | [log] [tgz] |
---|---|---|
author | Marya <111139605+MaryaBelanger@users.noreply.github.com> | Fri Feb 23 01:36:29 2024 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 23 01:36:29 2024 +0000 |
tree | 7a627ec06338997ff0fa040838a7b452e9b4db99 | |
parent | 2f05659b621cb69a226cb53d21186a0a698fe437 [diff] |
Typo `always_specify_types` lint Closes https://github.com/dart-lang/sdk/pull/54992 GitOrigin-RevId: c0a791d05ad0aee995aa593ed193ac299d5159ad Change-Id: I46223abb1a6084a2ba14b79a28afdf2c2d314d64 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353807 Commit-Queue: Kevin Moore <kevmoo@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com>
diff --git a/pkg/linter/lib/src/rules/always_specify_types.dart b/pkg/linter/lib/src/rules/always_specify_types.dart index ef8a2b5..3cf9821 100644 --- a/pkg/linter/lib/src/rules/always_specify_types.dart +++ b/pkg/linter/lib/src/rules/always_specify_types.dart
@@ -40,7 +40,7 @@ ``` NOTE: Using the the `@optionalTypeArgs` annotation in the `meta` package, API -authors can special-case type variables whose type needs to by dynamic but whose +authors can special-case type variables whose type needs to be dynamic but whose declaration should be treated as optional. For example, suppose you have a `Key` object whose type parameter you'd like to treat as optional. Using the `@optionalTypeArgs` would look like this: