Commit 3bc67293 authored by Fred Eisele's avatar Fred Eisele
Browse files

container is not a jQuery but a get() works

parent 194c6380
Loading
Loading
Loading
Loading
+1 −3
Changes for index.d.ts: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -42,8 +42,6 @@
//  - Cy.CollectionNodes
//      The output is a collection of node elements OR single node.

// <reference types="jquery" />
import "jquery";

declare namespace Cy {
    /**
@@ -2747,7 +2745,7 @@ declare namespace Cy {
         * 
         * The default is undefined.
         */
        container?: HTMLElement | JQuery;
        container?: HTMLElement;
        /**
         * The [[Stylesheet]] used to style the graph. For convenience, this option can alternatively be specified as a promise that resolves to the stylesheet.
         */
+1 −2
Changes for tsconfig.json: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@
        "strictNullChecks": true,
        "baseUrl": "../",
        "typeRoots": [
            "../",
            "./node_modules/@types"
            "../"
        ],
        "types": [],
        "noEmit": true,