Newest questions tagged typescript - Stack Overflow
How do I insert an interface's unused property after declaring the variable?
I have an interface: const config: sql.config = { user: "user1", pass: "pass1", } I am declaring this at the top of my typescript file. Further down in the file, I wanna modify it to be: config = { user: "user1",
View original source