Skip to content

Little improvements at types#194

Merged
Mortaro merged 3 commits intonullstack:unstable-nextfrom
GuiDevloper:types-improvements
Apr 16, 2022
Merged

Little improvements at types#194
Mortaro merged 3 commits intonullstack:unstable-nextfrom
GuiDevloper:types-improvements

Conversation

@GuiDevloper
Copy link
Copy Markdown
Member

Together with each commit description, some notes:

  • Add types to Nullstack Logo:
    The editor still needs some trick to recognize those types, the simplest is to convert the file into TSX.
    e.g. with nts2tsx running cd ./node_modules/nullstack && npx nts2tsx
    But still, I opened some discussion at our Discord to have feedback on that.

In some situations, e.g. 2 Nullstack in same env, the `declare module` is ran 2 times, this change limits their context
It still needs some trick to be recognized, though.
@Mortaro Mortaro merged commit 2fdbc5b into nullstack:unstable-next Apr 16, 2022
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.

2 participants