mirror of
https://github.com/sass/sass.git
synced 2024-09-21 18:47:25 +00:00
28 lines
497 B
TypeScript
28 lines
497 B
TypeScript
import {LegacyException} from './exception';
|
|
import {LegacyOptions} from './options';
|
|
|
|
export interface LegacyResult {
|
|
css: Buffer;
|
|
|
|
map?: Buffer;
|
|
|
|
stats: {
|
|
entry: string;
|
|
|
|
start: number;
|
|
|
|
end: number;
|
|
|
|
duration: number;
|
|
|
|
includedFiles: string[];
|
|
};
|
|
}
|
|
|
|
export function renderSync(options: LegacyOptions<'sync'>): LegacyResult;
|
|
|
|
export function render(
|
|
options: LegacyOptions<'async'>,
|
|
callback: (exception?: LegacyException, result?: LegacyResult) => void
|
|
): void;
|