Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescriptstudy

node version : 20.12.0

install typescript

npm install typescript

typescript 컴파일

//package.json
{
	"scripts":{
		"tsc":"tsc"
	}
}
// gretter.ts
function gretter(person){
	return 'hello'+person;
}

const person1 = gretter('hong')
console.log(person1);
npm run tsc src/gretter.ts

typescript 설정

tsc --init

About

typescriptstudy

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages