mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Add return type to static parseFile function.
This commit is contained in:
1 parent
b8afdd76d7
commit
cf18b507b1
1 file changed
+1
-1
Vendored
+1
-1
@@ -145,7 +145,7 @@ declare module "swig" {
|
||||
blockLevel?: boolean
|
||||
): void;
|
||||
export function setExtension(name: string, object: any): void;
|
||||
export function parseFile(pathName: string, options?: any);
|
||||
export function parseFile(pathName: string, options?: any): parser.ParseReturn;
|
||||
export function precompile(source: string, options?: SwigOptions): any;
|
||||
export function compile(source: string, options?: SwigOptions): (locals?: any) => string;
|
||||
export function compileFile(pathname: string, options: SwigOptions, cb: (err: Error, compiledRender: (locals?: any) => string) => void): void;
|
||||
|
||||
Reference in new issue
Block a user