typescript-tuple
typescript-tuple copied to clipboard
Idea for better type assertion
https://github.com/eigenmethod/mol/tree/master/type
type should_be_same_but_without_head = Assert<
Tail< [ 666 , 777 ] > ,
[ 777 ]
>
I don't really want to write type names (such as should_be_same_bu_without_head
).
This is short human readable description of test case. More examples: https://github.com/eigenmethod/mol/blob/master/type/keys/extract/extract.test.ts