加入后端工具项目。
This commit is contained in:
		
							
								
								
									
										16
									
								
								code/ts/后端辅助工具/src/main.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								code/ts/后端辅助工具/src/main.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
 | 
			
		||||
const greetings: string = "Hello, World!";
 | 
			
		||||
 | 
			
		||||
console.log( greetings );
 | 
			
		||||
 | 
			
		||||
enum Season {
 | 
			
		||||
    spring = 1,
 | 
			
		||||
    summer,
 | 
			
		||||
    autumn,
 | 
			
		||||
    winter,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
let today: Season = Season.spring;
 | 
			
		||||
 | 
			
		||||
console.log( today );
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user