mirror of
				https://github.com/SourceFellows/gobuch.git
				synced 2025-11-04 07:36:19 +01:00 
			
		
		
		
	initial import
This commit is contained in:
		
							
								
								
									
										13
									
								
								hello-world/typescript/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								hello-world/typescript/README.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
Starten des docker Containers
 | 
			
		||||
-----------------------------
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
docker run -v `pwd`:/tmp -it node:latest /bin/bash
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Danach im Container
 | 
			
		||||
```
 | 
			
		||||
npm install -g tsc
 | 
			
		||||
cd /tmp
 | 
			
		||||
time tsc hello.ts
 | 
			
		||||
```
 | 
			
		||||
							
								
								
									
										5
									
								
								hello-world/typescript/hello.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								hello-world/typescript/hello.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
function greeter(person) {
 | 
			
		||||
    return "Hello, " + person;
 | 
			
		||||
}
 | 
			
		||||
var user = "Jane User";
 | 
			
		||||
console.log(greeter(user));
 | 
			
		||||
							
								
								
									
										7
									
								
								hello-world/typescript/hello.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								hello-world/typescript/hello.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
function greeter(person) {
 | 
			
		||||
    return "Hello, " + person;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
let user = "Jane User";
 | 
			
		||||
 | 
			
		||||
console.log(greeter(user));
 | 
			
		||||
		Reference in New Issue
	
	Block a user