Upgrade deps

This commit is contained in:
Kalle
2022-11-24 00:50:07 +02:00
parent aef8ac5f61
commit 2fc3136a35
3 changed files with 593 additions and 416 deletions

View File

@@ -26,6 +26,7 @@ type WithStart<
export function startsWith<S extends string, Start extends string>(
str: S,
start: Start
// @ts-expect-error TS 4.9 upgrade
): str is WithStart<S, Start> {
return str.startsWith(start);
}