mirror of
https://github.com/certimate-go/certimate.git
synced 2026-08-30 18:01:43 +08:00
10 lines
168 B
TypeScript
10 lines
168 B
TypeScript
declare global {
|
|
type Nullish<T> = {
|
|
[P in keyof T]?: T[P] | null | undefined;
|
|
};
|
|
|
|
type ArrayElement<T> = T extends (infer U)[] ? U : never;
|
|
}
|
|
|
|
export {};
|