add some id and http types

This commit is contained in:
2023-08-20 20:13:43 -07:00
parent c46c33eebf
commit 1d7a49ced1
7 changed files with 73 additions and 24 deletions

6
src/identifiers.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export type HttpURL = `http://${string}` | `https://${string}`;
export type UUID = `${string}-${string}-${string}-${string}-${string}`;
export type SnowflakeID = `${bigint}`;