Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find 'geojson' in TypeScript #51

Closed
Lehks opened this issue May 11, 2019 · 1 comment
Closed

Can not find 'geojson' in TypeScript #51

Lehks opened this issue May 11, 2019 · 1 comment

Comments

@Lehks
Copy link

Lehks commented May 11, 2019

Since I updated to 2.0.5, TypeScript does not transpile anymore because it can not find 'geojson'.

node_modules/mariadb/types/index.d.ts:8:23 - error TS2688: Cannot find type definition file for 'geojson'.

8 /// <reference types="geojson" />
                        ~~~~~~~

node_modules/mariadb/types/index.d.ts:12:26 - error TS2307: Cannot find module 'geojson'.

12 import { Geometry } from 'geojson';
                            ~~~~~~~~~


Found 2 errors.

To get rid of both errors, geojson and @types/geojson need to be installed.

@rusher
Copy link
Collaborator

rusher commented May 20, 2019

( https://jira.mariadb.org/browse/CONJS-75 )
corrected in df32c40

Will be in next release 2.0.6

@rusher rusher closed this as completed May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants