Replies: 2 comments 3 replies
-
I'm assuming you want to add your own option? Currently it's not possible like that. Use |
Beta Was this translation helpful? Give feedback.
0 replies
-
@szmarczak no I mean the current options interface is quite weird, it's hard when I use for development, so I put in the title it related to developer experience (DX), please take a look at the picture interface/class Options {
timeout: number
} |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the options have getter and setter, which is quite unnatural when add option. See below images for more details
The definition of got
![image](https://user-images.githubusercontent.com/16853175/158436738-d1ec69c1-d021-4055-99b1-43c4ed5bd040.png)
![image](https://user-images.githubusercontent.com/16853175/158437181-1f3a110e-b673-4417-a5bf-71e0385a5565.png)
![image](https://user-images.githubusercontent.com/16853175/158437230-0a589a30-4eb0-46be-acc4-e4de213ef70a.png)
When we use it with IDE
Press enter
Should I create an issue for this?
Beta Was this translation helpful? Give feedback.
All reactions