-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add type annotations to resolve TS2742 errors in MenubarMenu com…
…ponent - Added type annotations to components in files to resolve TypeScript errors related to inferred types that cannot be named without a reference to external modules. - Addressed issue with non-portable type inference in dependency.
- Loading branch information
1 parent
e75e579
commit fc89a37
Showing
5 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import tsconfigPaths from "vite-tsconfig-paths" | ||
import { configDefaults, defineConfig } from "vitest/config" | ||
|
||
export default defineConfig({ | ||
test: { | ||
exclude: [ | ||
...configDefaults.exclude, | ||
"**/node_modules/**", | ||
"**/fixtures/**", | ||
"**/templates/**", | ||
], | ||
}, | ||
plugins: [ | ||
tsconfigPaths({ | ||
ignoreConfigErrors: true, | ||
}), | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import tsconfigPaths from "vite-tsconfig-paths" | ||
import { configDefaults, defineConfig } from "vitest/config" | ||
|
||
export default defineConfig({ | ||
test: { | ||
exclude: [ | ||
...configDefaults.exclude, | ||
"**/node_modules/**", | ||
"**/fixtures/**", | ||
"**/templates/**", | ||
], | ||
}, | ||
plugins: [ | ||
tsconfigPaths({ | ||
ignoreConfigErrors: true, | ||
}), | ||
], | ||
}) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.