Skip to content

make more type-accurate default values for viewGet

Pandu Supriyono requested to merge feature/viewget-typing into master

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.

Merge request reports

Loading