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
In the doc, options are optional.
error | (content: string, option?: MessageOption) => MessageReactive info | (content: string, option?: MessageOption) => MessageReactive loading | (content: string, option?: MessageOption) => MessageReactive success | (content: string, option?: MessageOption) => MessageReactive warning | (content: string, option?: MessageOption) => MessageReactive
But in the node_modules\naive-ui\lib\message\src\MessageProvider.d.ts
node_modules\naive-ui\lib\message\src\MessageProvider.d.ts
export interface MessageApiInjection { info: (content: string, options: MessageOptions) => MessageReactive; success: (content: string, options: MessageOptions) => MessageReactive; warning: (content: string, options: MessageOptions) => MessageReactive; error: (content: string, options: MessageOptions) => MessageReactive; loading: (content: string, options: MessageOptions) => MessageReactive; }
I think this is a mistake.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment Info
Bug description
In the doc, options are optional.
But in the
node_modules\naive-ui\lib\message\src\MessageProvider.d.ts
I think this is a mistake.
The text was updated successfully, but these errors were encountered: