@antv/g6 typings

declaration file based on @antv/g6@~3.0.6

Usage

Method 1:

  • install @xc1427/antv-g6-typings as devDependencies.
  • create an ambient file which references "@xc1427/antv-g6-typings".
/// <reference types="@xc1427/antv-g6-typings" />

Method 2: or simply copy the g6.d.ts file into your typescript project.