We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.5.13
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgEwKYDNgDtUGELgQ5bwC+c6UBcARAG4CuqNA3AFBsDGRAzvCMAAe2OAF4UGbHgKRiMABQI2ASFQCYPAFyIVykAE8AonVQl5ASh3LrUVDAZQscGFCbtrpFZ9Ln2XXvD44ACMYhKYOEGypgpKylgAhiCo2jQACgm2JFFEMTQANCoCwlhacADausXYhcoAurXJMAAWEMhlcXrBFlbWLcA8AHQAJGrAMO7WAPRTcHMAegD8up7K3r4c3KWBMgBMYWgR0oRyiipjGtqdBsYxPZ3KtvaOzq6ok6ukjXat7VdV3UsD36Q1G6kmyhmczgSxWXjYPhYQA
define a mixin that includes an emit
create a parent component that utilises the mixin, and includes a method that tries to emit the mixin's event
the emits defined in the mixin should be inferred in the parent component
(property) $emit: (event: "myEvent") => void
the available emits in the parent component do not present any of the mixin's emits
(property) $emit: (event: string, ...args: any[]) => void
Windows 11 with WSL to Ubuntu 24 Edition Windows 11 Business Version 24H2 Installed on 2025-02-24 OS build 26100.3775 Experience Windows Feature Experience Pack 1000.26100.66.0 System: OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat) CPU: (16) x64 AMD Ryzen 7 7745HX with Radeon Graphics Memory: 27.47 GB / 31.19 GB Container: Yes Shell: 5.2.21 - /bin/bash Binaries: Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node Yarn: 1.22.22 - ~/.nvm/versions/node/v22.12.0/bin/yarn npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm pnpm: 10.6.3 - ~/.local/share/pnpm/pnpm
Similar to this ticket:
#13253
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Vue version
3.5.13
Link to minimal reproduction
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgEwKYDNgDtUGELgQ5bwC+c6UBcARAG4CuqNA3AFBsDGRAzvCMAAe2OAF4UGbHgKRiMABQI2ASFQCYPAFyIVykAE8AonVQl5ASh3LrUVDAZQscGFCbtrpFZ9Ln2XXvD44ACMYhKYOEGypgpKylgAhiCo2jQACgm2JFFEMTQANCoCwlhacADausXYhcoAurXJMAAWEMhlcXrBFlbWLcA8AHQAJGrAMO7WAPRTcHMAegD8up7K3r4c3KWBMgBMYWgR0oRyiipjGtqdBsYxPZ3KtvaOzq6ok6ukjXat7VdV3UsD36Q1G6kmyhmczgSxWXjYPhYQA
Steps to reproduce
define a mixin that includes an emit
create a parent component that utilises the mixin, and includes a method that tries to emit the mixin's event
What is expected?
the emits defined in the mixin should be inferred in the parent component
(property) $emit: (event: "myEvent") => void
What is actually happening?
the available emits in the parent component do not present any of the mixin's emits
(property) $emit: (event: string, ...args: any[]) => void
System Info
Any additional comments?
Similar to this ticket:
#13253
The text was updated successfully, but these errors were encountered: