mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 17:44:44 +02:00
more user role stuff
This commit is contained in:
parent
bb17d30c9e
commit
231e1d2e2d
32 changed files with 897 additions and 138 deletions
2
server/types/ArrayElement.ts
Normal file
2
server/types/ArrayElement.ts
Normal file
|
@ -0,0 +1,2 @@
|
|||
export type ArrayElement<ArrayType extends readonly unknown[]> =
|
||||
ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
Loading…
Add table
Add a link
Reference in a new issue