unreachable-branch-transform
Browserify transform to remove unreachable code
Browserify transform to remove unreachable code
putout plugin adds ability to find and remove unreachable code
Utility function for exhaustiveness checking with typed JS (TS or Flow)
Utility function for exhaustiveness checking with TypeScript.
Utility function to indicate unimplemented code by throwing with a message of "Not implemented".
Utility function to indicate unfinished code by throwing with a message of "Not yet implemented".
Checks for unreachable code after return statements
Simple function to do a compile-time check for unreachability and to throw the prescribed runtime error is it is bypassed.
Exhaustiveness checking in TypeScript