- Introduced a new script to check TypeScript lesson files for errors. - Created a main TypeScript file to render lessons and their details. - Added lesson definitions with starter and answer codes. - Implemented a user interface for navigating and running lessons. - Styled the application with CSS for a better user experience. - Updated README to reflect the new TypeScript section and usage instructions.
4 lines
134 B
JavaScript
4 lines
134 B
JavaScript
export const courses = ["解构", "展开运算符", "Promise"];
|
|
|
|
export const formatCourse = (course) => `正在学习:${course}`;
|