We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f78c89f commit 594893fCopy full SHA for 594893f
src/nodes/core/IsolateNode.js
@@ -21,9 +21,9 @@ class IsolateNode extends Node {
21
* Constructs a new cache node.
22
*
23
* @param {Node} node - The node that should be cached.
24
- * @param {Node} [scope=null] - The scope node that defines the cache context.
+ * @param {boolean} [parent=true] - Whether this node refers to a shared parent cache or not.
25
*/
26
- constructor( node ) {
+ constructor( node, parent = true ) {
27
28
super();
29
@@ -111,7 +111,6 @@ export default IsolateNode;
111
112
export const isolate = ( node ) => new IsolateNode( nodeObject( node ) );
113
114
-
115
/**
116
* TSL function for creating a cache node.
117
0 commit comments