The nuxi typecheck command complains about type only imports that are not declared as such, but the VsCode environment does not. There's probably a missmatch somewhere in the configuration for Nuxt that I'm not going to dig into. Workaround this issue for now by setting the option in the tsconfig.json file for the server.
10 lines
222 B
JSON
10 lines
222 B
JSON
/*
|
|
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
{
|
|
"extends": "../.nuxt/tsconfig.server.json",
|
|
"compilerOptions": {
|
|
"verbatimModuleSyntax": true,
|
|
},
|
|
}
|