make more type-accurate default values for viewGet
Before this commit, the args and filter arguments in the viewGet function was set to null. When used in a TypeScript file in which an array was passed into args and/or an object into filters, it would lead to a compilation error because the types of these two parameters were automatically casted to null.