smartsass/dist/index.d.ts

23 lines
618 B
TypeScript
Raw Normal View History

2017-03-05 17:29:46 +00:00
import { Result } from 'node-sass';
export interface ISmartsassConstructorOptions {
entryFilePath: string;
2017-03-11 23:55:34 +00:00
includePaths?: string[];
2017-03-05 17:29:46 +00:00
}
export declare class Smartsass {
2017-03-11 23:55:34 +00:00
includePaths: any[];
2017-03-05 17:29:46 +00:00
entryFilePath: string;
constructor(optionsArg: ISmartsassConstructorOptions);
2017-03-12 09:59:21 +00:00
/**
* add further include paths
*/
addIncludePaths(includePathsArray: string[]): void;
2017-03-05 17:29:46 +00:00
/**
* renders the Smartsass classes' entryfile and returns result as string
*/
render(): Promise<Result>;
/**
* renders and stores
*/
renderAndStore(outputFilePath: string): Promise<void>;
}