python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How can I create an object with dynamically provided key-value pairs so TypeScript's `exactOptionalPropertyTypes = true` check passes?
Typescript 4.4 introduced exactOptionalPropertyTypes within the strict suite of type checking options:
In JavaScript, reading a missing property on an object produces the
value undefined. It’s also p...

yodama
Votes: 0
Answers: 1
Interface in an array
Hye everyone,
Do you know if it is good practice to make a table with an interface like this? :
public interface ITemp
{
void Findpath();
}
public class TempUn : ITemp
{
public void Find...
pierre950
Votes: 0
Answers: 1
How to change the interface key: value: string to [{ [key: string]: string }
I have interface
IUser {
name: string;
surname: string;
cityLocation: string;
}
the value will be
const user: IUser = {
"name": "John";
"surname": "Smith&...
Jackson
Votes: 0
Answers: 1
PyQt5 interface immediately closes after launch
I am trying to create an interface for my market program with a refresh button in it. The problem is that the window closes almost immediately after it opens. I checked some solutions but I couldn't d...
Malik_boun
Votes: 0
Answers: 1