首页
运维笔记
SEO心得
软件程序
网站源码
旗下网站
programmer
登录
标签
typescriptMake second argument o
typescript - Make second argument of a function optional or required, based on the first argument type - Stack Overflow
How to make data arg optional only if cat argument is not 1 ?export class MyClass<T extends 1 | 2 |
admin
5小时前
0
0