lunaisadev-website-old/node_modules/with/lib/index.d.ts

9 lines
315 B
TypeScript
Raw Normal View History

2021-07-28 01:40:12 +00:00
/**
* Mimic `with` as far as possible but at compile time
*
* @param obj The object part of a with expression
* @param src The body of the with expression
* @param exclude A list of variable names to explicitly exclude
*/
export default function addWith(obj: string, src: string, exclude?: string[]): string;