11 lines
194 B
TypeScript
11 lines
194 B
TypeScript
|
// 일단 대충 여러 봇 라이브러리에서 본 구조 가져오는 중..
|
||
|
|
||
|
class Base {
|
||
|
id?: string
|
||
|
constructor (id: string | undefined) {
|
||
|
if (id) {
|
||
|
this.id = id
|
||
|
}
|
||
|
}
|
||
|
}
|