mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* add weixin-app * add wx * add new line at end of file * tslint wx and wx-app * fixed test error * change project name weixin * rename * weixin-app Add param this * change discription of jweixin * add some Event declaration * change tslint config extends dtslint/dt.json * add defination of ccap, qr-image * remove redundant jsdoc * remove doc * allow overloads * inline some types * fix tslint error * ndarray add tslint export like a module style * ndarray make ndarray as a interface * ndarray: export type Data * add defination of cwise-parser * add type definition for cwise-copiler * fix tslint error * add type definition for cwise
23 lines
606 B
TypeScript
23 lines
606 B
TypeScript
// Type definitions for cwise-parser 1.0
|
|
// Project: https://github.com/scijs/cwise-parser#readme
|
|
// Definitions by: taoqf <https://github.com/taoqf>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace cwise_parser {
|
|
interface CompiledArgument {
|
|
name: string;
|
|
lvalue: boolean;
|
|
rvalue: boolean;
|
|
count: number;
|
|
}
|
|
interface CompiledRoutine {
|
|
body: string;
|
|
args: CompiledArgument[];
|
|
thisVars: string[];
|
|
localVars: string[];
|
|
}
|
|
}
|
|
|
|
declare function cwise_parser<T>(func: (a: number, ...args: T[]) => any): cwise_parser.CompiledRoutine;
|
|
export = cwise_parser;
|