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

fix: 📌 Remove unused generate in Minimum Example #232

Conversation

madogiwa0124
Copy link
Contributor

There is an unused generate in the sample code packages/compiler-core/compile.ts in the Minimum Example, The following type check error occurs, so I removed it from the sample code.

../../packages/compiler-core/compile.ts:1:1 - error TS6133: 'generate' is declared but its value is never read.

1 import { generate } from './codegen'
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in ../../packages/compiler-core/compile.ts:1

There is an unused `generate` in the sample code `packages/compiler-core/compile.ts` in the Minimum Example,
The following type check error occurs, so I removed it from the sample code.

```sh
../../packages/compiler-core/compile.ts:1:1 - error TS6133: 'generate' is declared but its value is never read.

1 import { generate } from './codegen'
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in ../../packages/compiler-core/compile.ts:1
```
@Ubugeeei
Copy link
Owner

Ubugeeei commented Jan 8, 2024

Thanks!!

@Ubugeeei Ubugeeei merged commit 86fa958 into Ubugeeei:main Jan 8, 2024
@Ubugeeei Ubugeeei self-assigned this Jan 8, 2024
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.

None yet

2 participants