2023-09-26
This commit is contained in:
1 parent
e4fc871937
commit
72d8b4e6be
101 files changed
+3032
-1934
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/* SPDX-License-Identifier: AGPL-3.0-or-later */
|
||||
|
||||
export default (typescriptNeverValue: never): never => {
|
||||
console.warn({ typescriptNeverValue });
|
||||
|
||||
return typescriptNeverValue;
|
||||
};
|
||||
|
||||
// How do I check that a switch block is exhaustive in TypeScript? - Stack Overflow
|
||||
// https://stackoverflow.com/questions/39419170/how-do-i-check-that-a-switch-block-is-exhaustive-in-typescript
|
||||
Reference in new issue
Block a user