photo
@photo2226
Reviews Written
3
Average Rating
5.0
Posts
Q&A
ESLint ๊ฐ ์ ๋๋ก ์ ์ฉ๋๋๊ฑด์ง ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค
์ ๋ ์ด๋ ๊ฒ ํด๊ฒฐํ์ต๋๋ค. https://noogoonaa.tistory.com/62 ์๋ฌ๊ฐ ๋๋ฌด ๋ง์ด ๋ฐ ๊ฒฝ์ฐ ์ ๋งํฌ๋ฅผ ์ฐธ์กฐํด์ ' endOfLine: 'auto', //๋ฅผ ์ถ๊ฐํ๋ฉด ๋จ
- 1
- 2
- 857
Q&A
ใ
์ ๋ ์๋์ ๋ญ๊ฐ ํ๋๋ฐ ์คํ๊ฐ ์์๋ค์ ์คํ๊ฐ ์๋์ง ์ ํ์ธํด๋ณด์๊ธธ ๋ฐ๋๋๋น!
- 0
- 1
- 314
Q&A
๋ง์ฝ์ ์ธํฐํ์ด์ค 3๊ฐ๋ฅผ ์์ ๋ฐ์์ ๊ฒฝ์ฐ์ ํ์ ๊ฐ๋๋ฅผ ์ด๋ค๋ฉด
function ThreeTypeGuard(typeProduct: Samsung| KIA | Apple):any { if((typeProduct as Samsung).phonenumber !== undefined){ return typeProduct as Samsung; } else if((typeProduct as KIA).carnumber !== undefined){ return typeProduct as KIA; } else{ return typeProduct as Apple; } } phone = { name : "abc", //phonenumber : 123, //carnumber : 123, Applenumber : 123, } if(ThreeTypeGuard(phone)){ phone.Applenumber } ์ด๋ ๊ฒ ํ๋ฉด ํ๊ฐ ํจ์๋ก 3๊ฐ๋ฅผ ๋ค ์ฒ๋ฆฌ ํ ์ ์๋๊ฑฐ ๊ฐ์ต๋๋ค.
- 1
- 2
- 258
Q&A
์ ๋๊ธดํ๋๋ฐ ๋นจ๊ฐ์ค์ด ๋์์ ๊ฑฐ์ฌ๋ฆฌ๋ค์
= , == , === ๊ฐ๋ ์ ์ ๋ชจ๋ฅด์๋ ๋ถ์ https://aboooks.tistory.com/9 ์ฌ๊ธฐ์ ํ์ธ ํ์๊ธธ....
- 1
- 2
- 659
Q&A
์ ๋ ํ์ ์ ์ ๋นจ๊ฐ์ ๋ฐ์ค์ด ์์ณ์ ธ์ ๋์ฌ๊น์?
https://velog.io/@devyang97/VScode-settings.json ์ฌ๊ธฐ ์ฃผ์์์ ๋ฐฉ๋ฒ์ผ๋ก settings ํ์ผ ์ฐพ์์ , ์ถ๊ฐ ํ๊ณ ์์ ๋ด์ฉ ์ฝ์ ํ๋๊ฐ ๋๋ค์ ๊ฐ์ฌํฉ๋๋ค.
- 5
- 9
- 718
Q&A
tsc index.ts๋ช ๋ น์ด์ npx tsc index.ts์ ์ฐจ์ด..
์ ๋ ์๋์ฐ ์ฌ์ฉ์์ธ๋ฐ ์๋์ ์ฐพ์๋ณด๋๊น ์๋ง ์๋์ฐ ๋ณด์ ์ด์๊ฐ ์๋๊ฐ ์ถ์ต๋๋ค. https://m.blog.naver.com/ggomjae/221791639992 window power shell ์ ์ฌ์ฉ์ ๊ถํ์ผ๋ก ์ฐ๋ค์์ ์ํค๋๋๋ก ํ๋๊น ์๋๋ค์
- 3
- 7
- 1.2K
Q&A
๊ฐ์์ ๋์จ ๊ฑฐ๋ ์ ์ vscode ๋ ๋ค๋ฅด๊ฒ ๋์์ ์ง๋ฌธ๋๋ฆฝ๋๋ค!
์.... ์ฐพ์๋ค์ ๊ฐ ๋ฉ์ฒญํ๊ฒ intellisence๋ฅผ ์๊น์๋ค์ ..... https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode ์ฌ๊ธฐ์ ๊น์๋ฉด ์ ๋ฉ๋๋ค.
- 1
- 4
- 361
Q&A
๊ฐ์์ ๋์จ ๊ฑฐ๋ ์ ์ vscode ๋ ๋ค๋ฅด๊ฒ ๋์์ ์ง๋ฌธ๋๋ฆฝ๋๋ค!
์ ์ง ๋์ง๋ ์์ง๋ง(๊ป๋คํค๊ธฐ, ์ฌ๋ถํ , eslint ์ค์ ๋ฑ) ์ผ๋จ ๋์ด๊ฐ์ผ ๊ฒ ์ต๋๋ค. ํธ์์ฑ ๊ธฐ๋ฅ์ธ๊ฑฐ ๊ฐ๊ณ .... ๋์ค์ ํน์ ํด๊ฒฐ์ฑ ์ ์๊ฒ ๋๋ฉด ์ ๋๋กํ๊ฒ ์ต๋๋ค.
- 1
- 4
- 361
Q&A
๊ฐ์์ ๋์จ ๊ฑฐ๋ ์ ์ vscode ๋ ๋ค๋ฅด๊ฒ ๋์์ ์ง๋ฌธ๋๋ฆฝ๋๋ค!
์ฃผ์ : https://github.com/joshua1988/learn-typescript/tree/master/setup์ค์ ํ์ผ ์ด๋ฆ : .eslintrc.js
- 1
- 4
- 361




