Skip to content

Conversation

@michenly
Copy link
Contributor

@michenly michenly commented Feb 4, 2022

In the TypeScript file, because there is class HelmetData and interface HelmetData and the name are exactly the same.
This means we are unable to import the type for class HelmetData.
For example import type {HelmetData} from 'react-helmet-async' gives the interface type, not the class type). See it happening here and how we need to create new type to get around it.

This PR rename the interface type to make this less confusing.

@michenly
Copy link
Contributor Author

michenly commented Feb 4, 2022

cc @frandiox

@staylor staylor merged commit 7d9b23a into staylor:main Feb 16, 2022
@michenly michenly deleted the helmet-data-type branch February 16, 2022 18:51
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

Successfully merging this pull request may close these issues.

2 participants