feat: Basic to username

This commit is contained in:
BluJ
2023-05-04 16:42:42 -06:00
parent 597aa48518
commit b9967023da
4 changed files with 12 additions and 8 deletions

View File

@@ -218,7 +218,7 @@ export type RandomString = {
len: number
}
// sometimes the type checker needs just a little bit of help
function isValueSpecListOf<S extends ListValueSpecType>(
export function isValueSpecListOf<S extends ListValueSpecType>(
t: ValueSpec,
s: S,
): t is ValueSpecListOf<S> & { spec: ListValueSpecOf<S> } {