danmarshall/deckgl-typings

Can't resolve '@deck.gl/geo-layers/tile-layer/tileset-2d'

earthshakira opened this issue · 1 comments

even though all other imports are working fine like

import {TileLayer} from '@deck.gl/geo-layers';

I'm not able to import the class Tileset2D

import Tileset2D from "@deck.gl/geo-layers/tile-layer/tileset-2d";

export default class MyTileset extends Tileset2D{
 ...
}

same issue in @deck.gl/geo-layers/tile-layer/tile-2d-header

it gives the error

Module not found: Can't resolve '@deck.gl/geo-layers/tile-layer/tileset-2d' in  ....

.... is my filepath
I'm using an app created with

yarn create react-app my-app --template typescript

Please could you help me with this.

Did you manage to solve the issue ?