Add less.tree.Attribute typing

This commit is contained in:
nktpro
2014-04-29 06:09:02 -07:00
parent 5f94a0bd9b
commit 7b8666ad0e
+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[];
}
}