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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript): Allow generic type parameters on function calls #571

Merged
merged 1 commit into from Jun 27, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 27, 2023

Allow e.g. this for vue <script setup>:

const emit = defineEmits<{
    foo: number
}>()

parts/typescript.js Outdated Show resolved Hide resolved
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux enabled auto-merge June 27, 2023 15:54
@susnux susnux merged commit 601a834 into master Jun 27, 2023
5 checks passed
@susnux susnux deleted the fix/typescript-rules branch June 27, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants