From 4118e799a04c52fa1a391aa0cbcabae458afc385 Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 12 Dec 2022 00:19:01 +0800 Subject: [PATCH] Update TypeScript style (Chapter of Array and Linkedlist) --- codes/typescript/chapter_array_and_linkedlist/my_list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/typescript/chapter_array_and_linkedlist/my_list.ts b/codes/typescript/chapter_array_and_linkedlist/my_list.ts index e2b6c0046..b2ce46840 100644 --- a/codes/typescript/chapter_array_and_linkedlist/my_list.ts +++ b/codes/typescript/chapter_array_and_linkedlist/my_list.ts @@ -4,7 +4,7 @@ * Author: Justin (xiefahit@gmail.com) */ -// 列表类 +/* 列表类简易实现 */ class MyList { private nums: Array; // 数组(存储列表元素) private _capacity: number = 10; // 列表容量