Use UUIDs in group database schema
This commit is contained in:
parent
74fde10ff5
commit
63fcdbe787
79 changed files with 4530 additions and 3664 deletions
|
@ -31,3 +31,11 @@ export function strictAssert(
|
|||
throw new Error(message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that the type of value is not a promise.
|
||||
* (Useful for database modules)
|
||||
*/
|
||||
export function assertSync<T, X>(value: T extends Promise<X> ? never : T): T {
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue