uawdijnntqw1x1x1
IP : 216.73.217.47
Hostname : srv913213
Kernel : Linux srv913213 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
yapwebtv.com
/
..
/
talentgenesis_admin_backend
/
node_modules
/
assert-never
/
README.md
/
/
# Assert Never [![npm version][npm-image]][npm-url] Helper function for [exhaustive checks][exhaustive-checks] of discriminated unions in TypeScript. ## Installation ``` npm install --save assert-never ``` ## Usage ```ts import {assertNever} from "assert-never"; type A = {type: 'a'}; type B = {type: 'b'}; type Union = A | B; function doSomething(arg: Union) { if (arg.type === 'a') { return something; } if (arg.type === 'b') { return somethingElse; } // TS will error if there are other types in the union // Will throw an Error when called at runtime. Use `assertNever(arg, true)` // instead to fail silently. return assertNever(arg); } ``` [npm-image]: https://badge.fury.io/js/assert-never.svg [npm-url]: https://badge.fury.io/js/assert-never [exhaustive-checks]: https://basarat.gitbook.io/typescript/type-system/discriminated-unions#exhaustive-checks
/var/www/yapwebtv.com/../talentgenesis_admin_backend/node_modules/assert-never/README.md