@types/less
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -55,4 +55,9 @@ // Type definitions for LESS | ||
fileAsync: boolean; | ||
modifyVars: { [variable: string]: string }; | ||
} | ||
interface ImportManager { | ||
contents: { [fileName: string]: string }; | ||
} | ||
interface Options { | ||
@@ -80,2 +85,9 @@ sourceMap?: SourceMapOption; | ||
} | ||
interface RefreshOutput { | ||
endTime: Date; | ||
startTime: Date; | ||
sheets: number; | ||
totalMilliseconds: number; | ||
} | ||
} | ||
@@ -85,7 +97,10 @@ | ||
options: Less.StaticOptions; | ||
modifyVars(vars: { [name: string]: string }): void; | ||
importManager?: Less.ImportManager; | ||
sheets: HTMLLinkElement[]; | ||
modifyVars(vars: { [name: string]: string }): Promise<Less.RefreshOutput>; | ||
refreshStyles(): void; | ||
render(input: string, callback: (error: Less.RenderError, output: Less.RenderOutput) => void): void; | ||
@@ -97,2 +112,4 @@ render(input: string, options: Less.Options, callback: (error: Less.RenderError, output: Less.RenderOutput) => void): void; | ||
refresh(reload?: boolean, modifyVars?: { [variable: string]: string }, clearFileCache?: boolean): Promise<Less.RefreshOutput>; | ||
version: number[]; | ||
@@ -99,0 +116,0 @@ |
{ | ||
"name": "@types/less", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "TypeScript definitions for LESS", | ||
@@ -30,4 +30,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "63ddacbff5181af04762e3968dc8d7105f44df8115f4cad3f92606fb50958dae", | ||
"typesPublisherContentHash": "b8cdb5334edb5bd17c694dea71c2fdcf7641e9f6b88034071ba135b340ccd0b1", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 01 Jun 2018 16:26:34 GMT | ||
* Last updated: Mon, 30 Jul 2018 23:12:12 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Less, less |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5698
94