Skip to content

bug: (vue) all TypeScript types missing from ion-* components since 8.4.3 #30221

Closed
stenciljs/output-targets
#630

Description

@RuggMatt

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Since @ionic/vue 8.4.3, all TypeScript information seems to be missing from components.

For example, when trying to get the possible values of size prop for IonTitle, it no longer returns detailed type information

Image

Expected Behavior

As in @inoic/vue 8.4.2, TypeScript information is available to the IDE

Image

Steps to Reproduce

  1. Create new ionic vue project using ionic cli
  2. attempt to get VS Code to use type information by using Ctrl + Space for the value of a Ionic component prop
  3. No type information is available

Code Reproduction URL

https://github.com/mattschlosser/ionic-vue-ts-demo/tree/main

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (C:\Users\mschlosser\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/vue 8.4.3

Capacitor:

Capacitor CLI : 7.0.1
@capacitor/android : not installed
@capacitor/core : 7.0.1
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v23.8.0 (C:\Program Files\nodejs\node.exe)
npm : 10.9.2
OS : Windows 10

Additional Information

Reverting to 8.4.2 fixes the issue

Activity

  1. RuggMatt commented on Feb 27, 2025

    @RuggMatt
    Author

    possibly related to #30179

  2. changed the title [-]bug: (vue) all TypeScript types missing from ion-* components[/-] [+]bug: (vue) all TypeScript types missing from ion-* components since 8.4.3[/+] on Feb 27, 2025
  3. EinfachHans commented on Feb 27, 2025

    @EinfachHans
    Contributor

    Maybe also so #30176

  4. brandyscarney commented on Mar 3, 2025

    @brandyscarney
    Member

    Thank you for the issue! We're currently investigating this, along with all other related Vue issues introduced in version 8.4.3.

  5. brandyscarney commented on Mar 13, 2025

    @brandyscarney
    Member

    Reopening this to investigate it a bit more.

  6. added a commit that references this issue on Mar 13, 2025
    3799d45
  7. RuggMatt commented on Mar 13, 2025

    @RuggMatt
    Author

    Thanks. This seems mostly fixed.

    However, seems like the type for router-link prop is now incorrect

    Image

    https://github.com/stenciljs/output-targets/blob/4c3a9d617c2b9aec75ee2000a97a1a41f839884a/packages/vue/src/types.ts#L91

    Ionic docs say I can use whatever router.push accepts

    Should I reopen a new issue for this?

  8. brandyscarney commented on Mar 13, 2025

    @brandyscarney
    Member

    Are you using @ionic/[email protected] and @stencil/[email protected]? If so, yes please open a new issue. Thank you!

  9. ionitron-bot commented on Apr 12, 2025

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  10. locked and limited conversation to collaborators on Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions