mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Add less.tree.Attribute typing
This commit is contained in:
Vendored
+11
-1
@@ -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[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user