Make params for refresh() optional (#37680)

This commit is contained in:
Silviu Jingoi
2019-08-19 14:00:36 -04:00
committed by Sheetal Nandi
parent dc4b0cbfa4
commit 3e01dcc0e5

View File

@@ -1360,7 +1360,7 @@ interface JSTree extends JQuery {
* if set to a function (receiving the current state as argument) the result of that function will be used as state
* @trigger refresh.jstree
*/
refresh: (skip_loading: boolean, forget_state: any) => void;
refresh: (skip_loading?: boolean, forget_state?: any) => void;
/**
* refreshes a node in the tree (reload its children) all opened nodes inside that node are reloaded with calls to `load_node`.