ЕУ
Size: a a a
ЕУ
t
showFoo(showType: 'shift') {
return showType
}
showFoo2(showType: 'full', content: string) {
return showType + content
}
showOffices(showType: 'shift' | 'full', content?: string) {
if (showType === 'shift') {
this.showFoo(showType)
} else if (showType === 'full') {
this.showFoo2(showType, content)
}
}
Д
Д
🅷.
showFoo(showType: 'shift') {
return showType
}
showFoo2(showType: 'full', content: string) {
return showType + content
}
showOffices(showType: 'shift' | 'full', content?: string) {
if (showType === 'shift') {
this.showFoo(showType)
} else if (showType === 'full') {
this.showFoo2(showType, content)
}
}
t
🅷.
🅷.
t
t
🅷.
🅷.
ЕУ
M
🅷.
AR
ЕУ
t
AS
🅷.