chore: default tabs

This commit is contained in:
Nathan Walker
2020-07-09 23:46:02 -07:00
parent 8100cf7089
commit 41f0573d8e
353 changed files with 55344 additions and 55344 deletions

View File

@@ -1,11 +1,11 @@
export function checkKey(key: string): void {
if (typeof key !== 'string') {
throw new Error("key: '" + key + "' must be a string");
}
if (typeof key !== 'string') {
throw new Error("key: '" + key + "' must be a string");
}
}
export function ensureValidValue(value: any, valueType: string): void {
if (typeof value !== valueType) {
throw new Error("value: '" + value + "' must be a " + valueType);
}
if (typeof value !== valueType) {
throw new Error("value: '" + value + "' must be a " + valueType);
}
}