You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
315 B
9 lines
315 B
2 years ago
|
/**
|
||
|
* 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;
|