Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 343 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 343 Bytes

@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.