UNPKG
react-mosaic-component
Version:
latest (7.0.0-beta0)
7.0.0-beta0
6.1.1
6.1.0
6.0.1
6.0.0
5.3.0
5.2.2
5.2.1
5.2.0
5.1.3-alpha.2
5.1.3-alpha.1
5.1.2
5.1.0
5.0.0
4.1.1
4.0.1
4.0.0
3.2.0
3.1.0
3.0.1
3.0.0
2.1.0
2.0.2
2.0.1
2.0.0
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.1
0.3.0
0.2.0
0.1.0
A React Tiling Window Manager
github.com/nomcopter/react-mosaic
nomcopter/react-mosaic
react-mosaic-component
/
src
/
util
/
assertNever.ts
4 lines
(3 loc)
•
132 B
text/typescript
View Raw
1
2
3
4
export
function
assertNever
(
shouldBeNever
:
never
):
never
{
throw
new
Error
(
'Unhandled case: '
+
JSON
.
stringify
(shouldBeNever)); }