typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

difference in vs code tooltips for generic method

Open ZimnitskiYury opened this issue 7 months ago • 1 comments

difference in how new typescript works with generics: old: Image

new: Image

method signature:

        const handleStep = async <T extends SendStep>(
            stepName: T,
            validationFn: (typeof SendProcess)[typeof stepName],
            ...args: Parameters<typeof validationFn>
        ) => {
               ///...
        }

ZimnitskiYury avatar May 22 '25 16:05 ZimnitskiYury

This is a temporary problem; our type printing is not yet complete but will improve (or be fixed) with #791.

jakebailey avatar May 22 '25 16:05 jakebailey

This should be fixed now, after #791 and other fixes.

jakebailey avatar Jun 04 '25 06:06 jakebailey