mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
1
swig/swig.d.ts
vendored
1
swig/swig.d.ts
vendored
@@ -11,6 +11,7 @@ declare module "swig" {
|
||||
export function init(options: Options): void;
|
||||
export function compileFile(filepath: string): any;
|
||||
export function compile(source: string, options?: Options): any;
|
||||
export function renderFile(pathName: string, locals?: any, cb?: (err: any, output: string) => void): string;
|
||||
|
||||
export interface Options {
|
||||
allowErrors?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user