UNPKG
tslint-config-alloy
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.0
AlloyTeam TSLint 规则
github.com/AlloyTeam/tslint-config-alloy
AlloyTeam/tslint-config-alloy
tslint-config-alloy
/
test
/
unified-signatures
/
tslint.json
11 lines
(10 loc)
•
310 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
{
"rules"
:
{
"unified-signatures"
:
true
}
,
"meta"
:
{
"category"
:
"typescript-specific"
,
"description"
:
"函数重载时,若能通过联合类型将两个函数的类型声明合为一个,则使用联合类型而不是两个函数声明"
,
"ts-only"
:
true
}
}