Version: 0.4.00.4.10.4.20.4.30.5.01.0.0-beta.11.0.0-beta.21.0.0-beta.31.0.0-beta.41.0.0-beta.5.11.0.0-beta.5.21.0.0-beta.5.31.0.0-rc.11.0.01.1.01.1.11.2.01.2.11.3.01.3.11.3.21.4.01.5.01.5.11.6.01.6.11.6.21.7.01.7.11.7.21.7.31.8.01.9.01.9.11.9.21.10.01.10.11.10.21.10.31.10.41.11.01.12.01.13.01.13.11.13.21.13.31.13.41.14.01.14.11.14.21.14.31.15.01.15.11.15.21.15.31.16.0-dev1.16.01.16.11.17.01.17.11.17.21.17.31.17.41.18.01.19.01.20.11.20.31.21.01.22.01.22.11.22.21.22.31.22.41.22.51.22.61.22.71.22.91.22.101.22.121.23.0-module.beta.11.23.01.23.11.23.21.23.31.23.51.23.61.23.71.24.01.24.11.24.21.24.31.24.41.24.51.25.01.25.1-test.11.26.0-test.11.26.0-test.21.26.0-test.31.26.01.26.11.26.21.26.31.26.51.26.61.26.71.26.81.26.91.26.101.26.111.26.121.27.01.27.11.27.21.28.01.29.01.30.01.32.01.32.11.32.21.32.31.32.41.32.51.32.61.32.71.32.81.32.91.32.101.32.111.32.121.32.131.33.01.34.01.34.11.35.01.35.11.35.21.36.01.37.01.37.11.37.21.37.31.37.41.37.51.38.01.38.11.38.21.39.01.39.11.39.21.40.01.40.11.41.01.41.11.42.01.42.11.43.21.43.31.43.41.43.51.44.01.45.0-rc.11.45.0-rc.21.45.01.45.11.45.21.46.01.47.01.48.01.49.01.49.11.49.21.49.31.49.41.49.51.49.61.49.71.49.81.49.91.49.101.49.111.50.01.50.11.51.01.52.01.52.11.52.21.52.31.53.01.54.01.54.11.54.21.54.31.54.41.54.51.54.61.54.71.54.81.54.91.55.01.56.01.56.11.56.21.57.01.57.11.58.01.58.11.58.21.58.31.59.01.59.11.59.21.59.31.60.01.61.01.62.01.62.11.63.01.63.11.63.21.63.31.63.41.63.51.63.61.64.01.64.11.64.21.65.01.65.11.66.01.66.11.67.01.68.01.69.01.69.11.69.21.69.31.69.41.69.51.69.61.69.71.70.01.71.01.71.11.72.01.74.11.75.01.76.01.77.01.77.11.77.21.77.31.77.41.77.51.77.61.77.71.77.81.78.01.79.01.79.11.79.21.79.31.79.41.79.51.79.61.80.01.80.11.80.21.80.31.80.41.80.51.80.61.80.71.81.01.81.11.82.01.83.0
/**
* The value of `this` in the context of a {@link LegacyImporter} or {@link
* LegacyFunction} callback.
*
* @category Legacy
* @deprecated This is only used by the legacy {@link render} and {@link
* renderSync} APIs. Use {@link compile}, {@link compileString}, {@link
* compileAsync}, and {@link compileStringAsync} instead.
*/
export interface LegacyPluginThis {
* A partial representation of the options passed to {@link render} or {@link
* renderSync}.
options: {
/** The same {@link LegacyPluginThis} instance that contains this object. */
context: LegacyPluginThis;
* The value passed to {@link LegacyFileOptions.file} or {@link
* LegacyStringOptions.file}.
file?: string;
/** The value passed to {@link LegacyStringOptions.data}. */
data?: string;
* The value passed to {@link LegacySharedOptions.includePaths} separated by
* `";"` on Windows or `":"` on other operating systems. This always
* includes the current working directory as the first entry.
includePaths: string;
/** Always the number 10. */
precision: 10;
/** Always the number 1. */
style: 1;
/** 1 if {@link LegacySharedOptions.indentType} was `"tab"`, 0 otherwise. */
indentType: 1 | 0;
* The value passed to {@link LegacySharedOptions.indentWidth}, or `2`
* otherwise.
indentWidth: number;
* The value passed to {@link LegacySharedOptions.linefeed}, or `"\n"`
linefeed: '\r' | '\r\n' | '\n' | '\n\r';
/** A partially-constructed {@link LegacyResult} object. */
result: {
/** Partial information about the compilation in progress. */
stats: {
* The number of milliseconds between 1 January 1970 at 00:00:00 UTC and
* the time at which Sass compilation began.
start: number;
* {@link LegacyFileOptions.file} if it was passed, otherwise the string
* `"data"`.
entry: string;
};
}