Seunghyun Min

Results 8 comments of Seunghyun Min

You can refer to this issue. https://github.com/microsoft/TypeScript/issues/36753 For example, if there is a function `test1()` which returns `never`, typescript says 'unreachable code detected' after calling `test1()`. (`console.log` line is grayed...

@A7med3bdulBaset Your solution here https://github.com/amannn/next-intl/pull/149#issuecomment-1753211290 looks good! The lines on my example can be changed like this. ```typescript // From this export function redirect(...params: Parameters): never { return navigation.redirect(...params); }...

@amannn Also, the reason why next/navigation works is next's redirect is declared like this. It's a function not an arrow function. ```typescript export declare function redirect(url: string, type?: RedirectType): never;...

I've already tried to fix and create PR for it, but I couldn't find any simple solution 🥲 The original `redirect` is declared as a function declaration but we use...

Thank you so much for helping my library 🥰 But I'm very busy these days because I have an important exam coming up at the end of this year. I'll...

Yeah, thank you for your concerns. Unfortunately, as you can see on the description of this repository, I decided not to update this library TT I'm sorry and thank you...

But there is a way to maintain this library. You can fork this repository and update it!

Thank you for using this library. However, it is difficult for me to maintain this library for a while due to personal reasons. Sorry but you need to build it...