@types/twig
Advanced tools
Comparing version 1.12.3 to 1.12.4
@@ -7,2 +7,3 @@ // Type definitions for twig 1.12 | ||
// Daniel Melcer <https://github.com/dmelcer9> | ||
// Chris Frewin <https://github.com/princefishthrower> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -41,3 +42,6 @@ | ||
filename: string; | ||
settings: any; | ||
settings: { | ||
views: any; | ||
'twig options': any; | ||
}; | ||
} | ||
@@ -51,4 +55,5 @@ | ||
export function compile(markup: string, options: CompileOptions): (context: any) => any; | ||
export function renderFile(path: string, options: CompileOptions, fn: (err: Error, result: any) => void): void; | ||
export function renderFile(path: string, options: (err: Error, result: any) => void, fn: null): void; | ||
export function renderFile(path: string, options: {} | CompileOptions, fn: (err: Error, result: any) => void): void; | ||
export function __express(path: string, options: CompileOptions, fn: (err: Error, result: any) => void): void; | ||
export function cache(value: boolean): void; |
{ | ||
"name": "@types/twig", | ||
"version": "1.12.3", | ||
"version": "1.12.4", | ||
"description": "TypeScript definitions for twig", | ||
@@ -26,2 +26,7 @@ "license": "MIT", | ||
"githubUsername": "dmelcer9" | ||
}, | ||
{ | ||
"name": "Chris Frewin", | ||
"url": "https://github.com/princefishthrower", | ||
"githubUsername": "princefishthrower" | ||
} | ||
@@ -38,4 +43,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "5c7ca19eecc52ba65e369be2317dca74a7e4ddca2a19382afa3274588a991b37", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "1f065c4c49b3c507dabe47333b4acc5cd966093885505e10528d20f61834ba63", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 25 Feb 2020 21:12:34 GMT | ||
* Last updated: Tue, 13 Oct 2020 10:26:08 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Carlos Ballesteros Velasco](https://github.com/soywiz), [Tim Schumacher](https://github.com/enko), [Maik Tizziani](https://github.com/mtizziani), and [Daniel Melcer](https://github.com/dmelcer9). | ||
These definitions were written by [Carlos Ballesteros Velasco](https://github.com/soywiz), [Tim Schumacher](https://github.com/enko), [Maik Tizziani](https://github.com/mtizziani), [Daniel Melcer](https://github.com/dmelcer9), and [Chris Frewin](https://github.com/princefishthrower). |
Sorry, the diff of this file is not supported yet
5416
51