6 lines
135 B
Plaintext
6 lines
135 B
Plaintext
type RequiredProperty<Type, Keys extends keyof Type> = Type & {
|
|
[P in Keys]-?: Type[P];
|
|
};
|
|
|
|
export type { RequiredProperty as R };
|