LoggerWarnOptions
LoggerWarnOptions: ({
deprecation: true;
deprecationType: Deprecation;
} | {
deprecation: false;
}) & {
span?: SourceSpan;
stack?: string;
}
deprecation: true;
deprecationType: Deprecation;
} | {
deprecation: false;
}) & {
span?: SourceSpan;
stack?: string;
}
© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/types/LoggerWarnOptions
The options passed to warn.
deprecation: Whether this is a deprecation warning.deprecationType: The type of deprecation. Only set ifdeprecationis true.span: The location in the Sass source code that generated this warning. This may be unset if the warning didn't come from Sass source, for example if it's from a deprecated JavaScript option.stack: The Sass stack trace at the point the warning was issued. This may be unset if the warning didn't come from Sass source, for example if it's from a deprecated JavaScript option.