diff --git a/packages/layers/src/point/models/fill.ts b/packages/layers/src/point/models/fill.ts index 5f02c5af2c..c5110c661a 100644 --- a/packages/layers/src/point/models/fill.ts +++ b/packages/layers/src/point/models/fill.ts @@ -5,7 +5,6 @@ import { IAttribute, IElements, IEncodeFeature, - ILayerConfig, IModel, IModelUniform, } from '@antv/l7-core'; diff --git a/packages/layers/src/point/models/normal.ts b/packages/layers/src/point/models/normal.ts index 14b56a5dd1..5868096424 100644 --- a/packages/layers/src/point/models/normal.ts +++ b/packages/layers/src/point/models/normal.ts @@ -3,7 +3,6 @@ import { BlendType, gl, IEncodeFeature, - ILayerConfig, IModel, IModelUniform, } from '@antv/l7-core'; @@ -24,7 +23,7 @@ export function PointTriangulation(feature: IEncodeFeature) { } export default class NormalModel extends BaseModel { - public getDefaultStyle(): Partial { + public getDefaultStyle(): Partial { return { blend: 'additive', }; @@ -139,7 +138,7 @@ export default class NormalModel extends BaseModel { } private defaultStyleOptions(): Partial< - IPointLayerStyleOptions & ILayerConfig + IPointLayerStyleOptions > { return { blend: BlendType.additive, diff --git a/packages/layers/src/point/models/simplePoint.ts b/packages/layers/src/point/models/simplePoint.ts index 82bc44c39e..e45970e67c 100644 --- a/packages/layers/src/point/models/simplePoint.ts +++ b/packages/layers/src/point/models/simplePoint.ts @@ -3,7 +3,6 @@ import { BlendType, gl, IEncodeFeature, - ILayerConfig, IModel, IModelUniform, } from '@antv/l7-core'; @@ -26,7 +25,7 @@ export function PointTriangulation(feature: IEncodeFeature) { } export default class SimplePointModel extends BaseModel { - public getDefaultStyle(): Partial { + public getDefaultStyle(): Partial { return { blend: 'additive', }; @@ -150,7 +149,7 @@ export default class SimplePointModel extends BaseModel { } private defaultStyleOptions(): Partial< - IPointLayerStyleOptions & ILayerConfig + IPointLayerStyleOptions > { return { blend: BlendType.additive,