Merge pull request #2127 from nktpro/patch-1

Add less.tree.Attribute typing
This commit is contained in:
Bart van der Schoor
2014-04-29 17:08:02 +02:00
+11 -1
View File
@@ -497,6 +497,16 @@ declare module "less" {
toCSS(env?: Options): string;
eval(): UnicodeDescriptor;
}
export class Attribute implements IInjectable {
constructor(value: string);
value: string;
toCSS(env?: Options): string;
genCSS(env: Options, output): string;
eval(): Attribute;
}
export var debugInfo: DebugInfoFunction;
export function find(obj: any[], fun: Function): any;
@@ -539,4 +549,4 @@ declare module "less" {
export function writeError(ctx, options: { color: boolean; }): void;
export var version: number[];
}
}