mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Make params for refresh() optional (#37680)
This commit is contained in:
committed by
Sheetal Nandi
parent
dc4b0cbfa4
commit
3e01dcc0e5
2
types/jstree/index.d.ts
vendored
2
types/jstree/index.d.ts
vendored
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user