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

current master not compilable - flower-card.ts 28:25 error Unexpected any #118

Open
CybDis opened this issue Apr 5, 2024 · 3 comments
Open

Comments

@CybDis
Copy link

CybDis commented Apr 5, 2024

I tried to resolve the merge conflicts by getting the latest main branch - but it cannot be compiled.
Do I miss any updates or something?

Executing task: npm run build 


> [email protected] build
> yarn lint && webpack -c webpack.config.js

yarn run v1.22.19
$ eslint src/**/*.ts

D:\work\GitHub\lovelace-flower-card\src\flower-card.ts
  28:25  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 1 problem (1 error, 0 warnings)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command

same with latest yarn v1.22.22

@Olen
Copy link
Owner

Olen commented Apr 7, 2024

No idea, really. I am not a frontend-developer, so all of this stuff is mostly based on copy-paste from other projects, and trial and error.
It works in the Action-scripts here in github, but it might be related to the node version or something?

@chemelli74
Copy link
Contributor

I think is a typing error, "Any" is not allowed. You should change it to the proper type ( str, int, etc. )

@chemelli74
Copy link
Contributor

Forked repo and cloned via VScode so using devocntainer config.
This is the result:

image

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

3 participants