Вキ
Size: a a a
Вキ
АР
public someMethod(type: 'A' | 'B'): string {
switch (type) {
case 'A': {
return 'Test A';
}
case 'B': {
return 'Test B';
}
default: {
throw new Error('Unknown type');
}
}
}S
G
VV
Вキ
S
VV
S
Вキ
S
VV
Вキ
VV
VV
🧀
🧀
🧀
АР