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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: back to using vue.d.ts instead of .d.ts for Vue declarations #410

Merged
merged 1 commit into from Aug 18, 2022

Commits on Aug 17, 2022

  1. revert: back to using vue.d.ts instead of .d.ts for Vue declarations

    This reverts commit e145d0b.
    
    - Per discussion on the original issue and reverted PR, it seems that the request to use `.d.ts` instead of `.vue.d.ts` was made in error
      - `.d.ts` seems to only be necessary if Vue users were importing `.vue` SFCs without extensions ("extensionless")
        - i.e. `import MyComponent from "./MyComponent"` instead of `import MyComponent from "./MyComponent.vue"`
      - and "extensionless" imports are no longer supported by the Vue team (but used to be)
      - requiring extensionless imports also breaks imports when extensions _are_ used
      - so these are not necessarily compatible with each other, but the Vue team support strongly suggests that `.vue.d.ts` would be the proper way forward
    agilgur5 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    003b028 View commit details
    Browse the repository at this point in the history