Skip to content

Commit

Permalink
take of ts-error for heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour-Cheour10 committed Jul 12, 2024
1 parent 48eb52f commit a32f769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "ddcccd515e4147d9ae7139b2e4e23e06",
"model_id": "f874c36a78b348ae92a7f3ce5e6178c7",
"version_major": 2,
"version_minor": 0
},
Expand Down
3 changes: 1 addition & 2 deletions src/heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export class HeatmapLayerModel extends LayerModel {
}

export class HeatmapLayerView extends LayerView {
// @ts-expect-error type not assignable
obj: Heatmap<Feature>;
obj: Heatmap;

Check failure on line 39 in src/heatmap.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 3.8)

Generic type 'Heatmap<FeatureType>' requires 1 type argument(s).

Check failure on line 39 in src/heatmap.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 3.12)

Generic type 'Heatmap<FeatureType>' requires 1 type argument(s).

render() {
this.create_obj();
Expand Down

0 comments on commit a32f769

Please sign in to comment.