mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
update (4)
This commit is contained in:
1 parent
f85d097c16
commit
59108d7637
7 files changed
+96
-6
No files matched your search
@@ -1,4 +1,4 @@
|
||||
export function assertSecret<Type>(secret?: Type) {
|
||||
export function assertSecret(secret?: string) {
|
||||
if (secret === undefined) throw new Error("Missing secret");
|
||||
return secret;
|
||||
}
|
||||
Reference in new issue
Block a user