UNPKG
eslint-config-mts
Version:
latest (0.0.2)
0.0.2
0.0.1
MLT ESLint 规则
test.hulu.team/eslint/config/alloy
eslint-config-mts
/
test
/
typescript
/
explicit-member-accessibility
/
good.ts
16 lines
(15 loc)
•
266 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class
Foo2
{
private
static
foo =
'foo'
;
public
static
getFoo
()
{
return
Foo2.foo; }
public
constructor
()
{}
protected
bar =
'bar'
;
public
getBar
()
{}
public
get
baz
()
{
return
'baz'
; }
public
set
baz
(
value
)
{ console.log(
value
); } }