fix: export g-base ICanvas, ShapeBase as IShape, IGroup types file

This commit is contained in:
baizn 2020-12-29 10:18:01 +08:00 committed by Moyee
parent 18cc8add44
commit 7f1be825d4

View File

@ -7,17 +7,17 @@ import {
Marker,
Shape,
} from '@antv/g6-core';
import './element';
import './behavior';
import { IGroup, ShapeBase as IShape, ICanvas } from '@antv/g-base';
import * as Algorithm from '@antv/algorithm';
import Graph from './graph/graph';
import TreeGraph from './graph/tree-graph';
import { Layout, registerLayout } from './layout';
import Global from './global';
import Util from './util';
import Plugin from './plugin';
import * as Algorithm from '@antv/algorithm';
import './element';
import './behavior';
// const registerLayout = Layout.registerLayout;
const Minimap = Plugin.Minimap;
const Grid = Plugin.Grid;
const Bundling = Plugin.Bundling;
@ -53,6 +53,10 @@ export {
Arrow,
Marker,
Shape,
// 对外包括 G-Base 的几个类型定义
ICanvas,
IGroup,
IShape,
};
export default {