bluehalo / bluehalo/ngx-leaflet-tutorial-plugins

" Import * as L from 'leaflet' " in typings.d.ts

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I've found a solution to this problem but i'm curious to know if anyone had the same situation.
I tried to integrate leaflet-geoman with ngx-leaflet, i readed your guide and i added the `import * as L from 'leaflet'` into the src\typings.d.ts file and at first it worked.
**Then i had to reset my pc**, and after that i had an error.
`error TS2304: Cannot find name 'tinymce'.`
I did some investigations and i found out typings.d.ts file was meant to be a global declaration file, but the `import` prevented this thing.

As i write this i found a workaround but the problem is still there.
Anyone had the same problem?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.