-
Beta Was this translation helpful? Give feedback.
Answered by
woohm402
Nov 5, 2021
Replies: 1 comment 5 replies
-
저는 보통 export 할 때 type AuthContextType = {
login: boolean;
등등
}
export const useAuthContext = () => useContext(AuthContext) as AuthContextType; 이런 식으로 export해 줍니다! |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
woohm402
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
저는 보통 export 할 때
이런 식으로 export해 줍니다!