Let's say I have this:
declare function makeFunction(...args: FunctionArgs): void;
const test_me = makeFunction;
test_me("sad", "asdas");```
If I type `test_me(` it will give me auto completion that I have two parameters `a` and `b`.
How can I implement this in the case where I have a string `s = "a is ${a} b is ${b}` and I want to have something like:
s = "a is ${a} b is ${b}
type FunctionArgs = [extract the parameters between {} from s];
declare function makeFunction(...args: FunctionArgs): void;
const test_me = makeFunction;
test_me("sad", "asdas");```
I have these strigns from which I want to extract what arguments a function should have. They are all know at compile time. Is this possible?