We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My module.ts
module.ts
import type { LogEntry } from "./runtime/server/types/LogEntry"; export interface ModuleOptions { delayOnBan: boolean; log: false | LogEntry; } export default defineNuxtModule<ModuleOptions>({ meta: { name: "nuxt-api-shield", configKey: "nuxtApiShield", }, defaults: { delayOnBan: true, log: false, },
After running yarn dev:prepare I get the following in .nuxt/types/schema.d.ts
yarn dev:prepare
.nuxt/types/schema.d.ts
interface PublicRuntimeConfig { nuxtApiShield: { delayOnBan: boolean, log: boolean, }, }
log type should be false | LogEntry
log
false | LogEntry
The text was updated successfully, but these errors were encountered:
vue
nuxt
intlify
No branches or pull requests
What happens?
My
module.ts
After running
yarn dev:prepare
I get the following in.nuxt/types/schema.d.ts
What is expected?
log
type should befalse | LogEntry
The text was updated successfully, but these errors were encountered: