[PR #63] [MERGED] fix: remove some of any type annotations in index.ts #283

Closed
opened 2026-05-06 12:38:57 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/63
Author: @situ2001
Created: 2/25/2026
Status: Merged
Merged: 2/27/2026
Merged by: @FredKSchott

Base: mainHead: situ/patch-1


📝 Commits (5)

  • 1b9d056 refactor: wrap Vite configuration with defineConfig
  • 6a88517 refactor: remove type any
  • fe43969 refactor: remove as any
  • a4f6755 refactor: remove as any
  • a73c0a2 refactor: use UserConfig type instead of defineConfig for internal config object

📊 Changes

1 file changed (+7 additions, -7 deletions)

View changed files

📝 packages/vinext/src/index.ts (+7 -7)

📄 Description

No need to add any type, since the types can be inferred from declaration of vite.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/63 **Author:** [@situ2001](https://github.com/situ2001) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 2/27/2026 **Merged by:** [@FredKSchott](https://github.com/FredKSchott) **Base:** `main` ← **Head:** `situ/patch-1` --- ### 📝 Commits (5) - [`1b9d056`](https://github.com/cloudflare/vinext/commit/1b9d0565e75836ac2da948f0f7c2b1feef219f4e) refactor: wrap Vite configuration with `defineConfig` - [`6a88517`](https://github.com/cloudflare/vinext/commit/6a885178c36f9c2084c592efb3ca240e55a05f5f) refactor: remove type any - [`fe43969`](https://github.com/cloudflare/vinext/commit/fe439697edd2c4b5aa6bc490bf2a4c34a20556e2) refactor: remove as any - [`a4f6755`](https://github.com/cloudflare/vinext/commit/a4f6755b9712d87bc6f3f5365e6a381f5a98852c) refactor: remove as any - [`a73c0a2`](https://github.com/cloudflare/vinext/commit/a73c0a22b5e41c0ff72f90a15e65581f1527b9e7) refactor: use UserConfig type instead of defineConfig for internal config object ### 📊 Changes **1 file changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/index.ts` (+7 -7) </details> ### 📄 Description No need to add any type, since the types can be inferred from declaration of vite. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:38:57 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#283
No description provided.