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

Add return type to placeIcons function #242

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Add return type to placeIcons function #242

merged 1 commit into from
Jan 11, 2022

Conversation

apertso
Copy link
Contributor

@apertso apertso commented Jan 11, 2022

Changes:

Added void return type to placeIcons function

Why?

TS validator throws an error if tsconfig.json has "noImplicitAny": true:
'placeIcons', which lacks return-type annotation, implicitly has an 'any' return type.ts(7010)

@jaynewey
Copy link
Owner

Thanks 🙂

@jaynewey jaynewey merged commit 1b2161a into jaynewey:main Jan 11, 2022
@jaynewey
Copy link
Owner

Fixed in v0.12.1

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