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

TypeScript ignore for inequivalent types #1

Open
edisonabdiel opened this issue Nov 10, 2021 · 0 comments
Open

TypeScript ignore for inequivalent types #1

edisonabdiel opened this issue Nov 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@edisonabdiel
Copy link
Owner

In components/PostDetails line 113 @ts-ignore was used to bypass a typing error. It was done in order to pass vercel CD checks

{/* @ts-ignore */} {post.content.raw.children.map((typeObj, index) => { const children: ContentType = typeObj.children.map((item, itemindex) => getContentFragment(itemindex, item.text, item) );

Error: raw is not defined in type: string

@edisonabdiel edisonabdiel added bug Something isn't working help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant