static makeNodeTypeTest(type, nodeTypes, stringVal) {
        return new class extends NodeTest {
            constructor() {
                super(type);
                this.matches = NodeTest.isNodeType(nodeTypes);
                this.toString = () => stringVal;
            }
        }();
    }
// create invariant node test for certain node types
create invariant node test for certain node types
create invariant node test for certain node types
static makeNodeTypeTest(type, nodeTypes, stringVal) {
        return new class extends NodeTest {
            constructor() {
                super(type);
                this.matches = NodeTest.isNodeType(nodeTypes);
                this.toString = () => stringVal;
            }
        }();
    }
static makeNodeTypeTest ( type , nodeTypes , stringVal ) { return new class extends NodeTest { constructor ( ) { super ( type ) ; this . matches = NodeTest . isNodeType ( nodeTypes ) ; this . toString = ( ) => stringVal ; } } ( ) ; }
create invariant node test for certain node types
create invariant node test for certain node types