Closed wherehows closed 1 year ago
폴더 네임 앞에 골뱅이 제거 경로 alias 할때 @를 쓸 수 있고, @라는 것 자체의 유래가 npm scope이므로 굳이 types라는 폴더 앞에 골뱅이를 붙일 필요는 없을 듯 하다.
types 폴더 이름을 customTypes로 변경 types로 사용하고, alias 할때 @를 사용하는 경우 @types는 node_modules를 참고함
as 타입은 아래와같이 정의돼있음
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Memo
폴더 네임 앞에 골뱅이 제거 경로 alias 할때 @를 쓸 수 있고, @라는 것 자체의 유래가 npm scope이므로 굳이 types라는 폴더 앞에 골뱅이를 붙일 필요는 없을 듯 하다.
types 폴더 이름을 customTypes로 변경 types로 사용하고, alias 할때 @를 사용하는 경우 @types는 node_modules를 참고함
as 타입은 아래와같이 정의돼있음
References