mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
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>
This commit is contained in:
parent
2f05659b62
commit
b251d14e06
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const int quux = 20;
|
|||
```
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue