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

Convert to TypeScript #10

Open
JamieMagee opened this issue Jan 13, 2022 · 1 comment
Open

Convert to TypeScript #10

JamieMagee opened this issue Jan 13, 2022 · 1 comment

Comments

@JamieMagee
Copy link

Thanks for updating this library with TypeScript types in #9, but they're not very specific. There is a lot of any used, and it's not much more useful than no types at all.

I'd be happy to contribute this, if it would be accepted.

Tagging @oleksandr-codefresh as you're the most recent maintainer of this project.

@oleksandr-codefresh
Copy link
Collaborator

@JamieMagee
Hi, at least currently you can use exported class Reference to work with results and create you own wrapper over function

export function parseImageName(imageName: string): Reference {
    return parseFamiliarName(imageName, parseQualifiedNameOptimized)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants