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

fix(other): separated types, eslint rule for importing types #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ulfgebhardt
Copy link
Member

@ulfgebhardt ulfgebhardt commented Nov 24, 2024

🍰 Pullrequest

fix(other): separated types, eslint rule for importing types

  • Separated types and moved them into the proper ./types folder defined in the tsconfig.json.
  • Defined a new folder alias #types.
  • New eslint rule to enforce import type when a type is imported.
  • Removed Geometry Class and used manual Point types from geojson

Issues

Todo

  • None

- Separated types and moved them into the proper ./types folder defined
in the tsconfig.json.
- Defined a new folder alias `#types`.
- New eslint rule to enforce `import type` when a type is imported.
- Removed Geometry Class and used manual Point types from `geojson`
types should be included by typeRoots and hence not result in errors of
eslint (has to be monitored)
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

Successfully merging this pull request may close these issues.

1 participant