Skip to content

Commit

Permalink
fix: 类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
paleface001 authored and lessmost committed Dec 4, 2019
1 parent c31d91e commit 7f8eab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tiny-plots/ring-progress/layer.ts
Expand Up @@ -88,7 +88,7 @@ export default class RingProgressLayer extends ProgressLayer<RingProgressLayerCo
super.parseEvents(EventParser);
}

private getThickness(value?: number) {
private getThickness(value?: number): number {
const width = this.width;
const height = this.height;
const size = Math.min(width, height);
Expand Down

0 comments on commit 7f8eab3

Please sign in to comment.