Rename the files

This commit is contained in:
Panayot Cankov
2016-05-20 12:11:27 +03:00
parent ca3c2877c2
commit e135c20b14
803 changed files with 1077 additions and 648 deletions

View File

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