@types/less
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -76,3 +76,8 @@ // Type definitions for LESS 3.x | ||
*/ | ||
supports(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean; | ||
supports( | ||
filename: string, | ||
currentDirectory: string, | ||
options: LoadFileOptions, | ||
environment: Environment, | ||
): boolean; | ||
@@ -82,3 +87,8 @@ /** | ||
*/ | ||
loadFile(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): Promise<FileLoadResult>; | ||
loadFile( | ||
filename: string, | ||
currentDirectory: string, | ||
options: LoadFileOptions, | ||
environment: Environment, | ||
): Promise<FileLoadResult>; | ||
@@ -88,3 +98,8 @@ /** | ||
*/ | ||
loadFileSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): FileLoadResult | FileLoadError; | ||
loadFileSync( | ||
filename: string, | ||
currentDirectory: string, | ||
options: LoadFileOptions, | ||
environment: Environment, | ||
): FileLoadResult | FileLoadError; | ||
} | ||
@@ -130,3 +145,8 @@ | ||
*/ | ||
supportsSync(filename: string, currentDirectory: string, options: LoadFileOptions, environment: Environment): boolean; | ||
supportsSync( | ||
filename: string, | ||
currentDirectory: string, | ||
options: LoadFileOptions, | ||
environment: Environment, | ||
): boolean; | ||
} | ||
@@ -217,3 +237,3 @@ | ||
/** Math mode options for avoiding symbol conficts on math expressions. */ | ||
math?: 'always' | 'strict' | 'parens-division' | 'parens' | 'strict-legacy' | number | undefined; | ||
math?: "always" | "strict" | "parens-division" | "parens" | "strict-legacy" | number | undefined; | ||
/** If true, stops any warnings from being shown. */ | ||
@@ -225,7 +245,7 @@ silent?: boolean | undefined; | ||
globalVars?: { | ||
[key: string] : string, | ||
[key: string]: string; | ||
} | undefined; | ||
/** Puts Var declaration at the end of base file. */ | ||
modifyVars?: { | ||
[key: string] : string, | ||
[key: string]: string; | ||
} | undefined; | ||
@@ -271,3 +291,7 @@ /** Read files synchronously in Node.js */ | ||
render(input: string, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void; | ||
render(input: string, options: Less.Options, callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void): void; | ||
render( | ||
input: string, | ||
options: Less.Options, | ||
callback: (error: Less.RenderError, output: Less.RenderOutput | undefined) => void, | ||
): void; | ||
@@ -277,3 +301,7 @@ render(input: string): Promise<Less.RenderOutput>; | ||
refresh(reload?: boolean, modifyVars?: { [variable: string]: string }, clearFileCache?: boolean): Promise<Less.RefreshOutput>; | ||
refresh( | ||
reload?: boolean, | ||
modifyVars?: { [variable: string]: string }, | ||
clearFileCache?: boolean, | ||
): Promise<Less.RefreshOutput>; | ||
@@ -280,0 +308,0 @@ version: number[]; |
{ | ||
"name": "@types/less", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for LESS", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/less", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f8069d9a22ccfd721c0911813590e86006251b5e21a59bf0d39fd2cf54aae7e0", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "59d6058ea3188be3ee3e16d516dada9d2169bf6fb3c7c6962f76f0eba82496b9", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 22:02:40 GMT | ||
* Last updated: Wed, 30 Aug 2023 19:35:02 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
12845
266