readme: Add Skip the Mon import (#185)
This commit is contained in:
parent
a7ad6a3497
commit
19df75a773
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -80,6 +80,17 @@ String v = pn.value();
|
|||
|
||||
Returns the value in the `Wrapper`.
|
||||
|
||||
### Skip the Mon import
|
||||
|
||||
If the only thing you want is `Wrapper`, you can skip importing the `mon`
|
||||
dependency by declaring your tyoes like so:
|
||||
|
||||
``` java
|
||||
interface PhoneNumber {String value();}
|
||||
```
|
||||
|
||||
This is functionally identical to the example above using `Wrapper`.
|
||||
|
||||
---
|
||||
## TypeAlias
|
||||
|
||||
|
|
Loading…
Reference in a new issue