摘要: export class BuilderTuple<TList extends any[] = []> { list: TList; constructor() { this.list = [] as any; } push<TNum extends number>(num: TNum): Buil 阅读全文
posted @ 2023-02-13 18:12 Zhentiw 阅读(12) 评论(0) 推荐(0) 编辑
摘要: The builder pattern is a design pattern commonly used in OOP. It is used to create complex objects step by step throught a series of methods, each of 阅读全文
posted @ 2023-02-13 16:41 Zhentiw 阅读(21) 评论(0) 推荐(0) 编辑