Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@agilgur5
Copy link
Collaborator

@agilgur5 agilgur5 commented Dec 14, 2019

  • treeshake was in output, but it's not a config of output :/ :/ :/
    • once explicit types were added, this was a big red underline :/ :/

Yeaaaaaaaaa so that's kind of a problem πŸ˜• πŸ˜• πŸ˜• Related to #365 and potentially related to #171. This bug has been around for a long enough time that it's fix may cause some breakage, idk.

Related: Does the eslint config error on getters and setters? That wouldn't help with imported code, but would at least reduce unexpected errors in one's own codebase.

Also should we add some regression tests for treeshaking? It's typed correctly now, but might make sense to have a test for something like this that could be considered critical and hard to catch, idk.


I was going around adding types to builder code during #367 because type-checking would add a lot more confidence and discovered this along the way -- figured it should be extracted out as its own commit.

- treeshake was in output, but it's not a config of output :/ :/ :/
  - once explicit types were added, this was a big red underline :/ :/
@swyxio
Copy link
Collaborator

swyxio commented Dec 14, 2019

nice catch - who woulda thought that typechecking is useful for this stuff πŸ˜‚

wanna make sure jared sees this so not clicking merge

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.

3 participants