Thank you for your submission, an automated scan of your plugin code's revealed the following issues:



---

### Optional

[[1](https://github.com/Lemon695/obsidian-new-files/blob/01a19ec08b111904ed2aba9db8699059b45b9a1b/src/main.ts#L142)][[2](https://github.com/Lemon695/obsidian-new-files/blob/01a19ec08b111904ed2aba9db8699059b45b9a1b/src/main.ts#L298)][[3](https://github.com/Lemon695/obsidian-new-files/blob/01a19ec08b111904ed2aba9db8699059b45b9a1b/src/main.ts#L333)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
