11 lines
302 B
TypeScript
11 lines
302 B
TypeScript
export type Nullable<T> = { [P in keyof T]: T[P] | null }
|
|
|
|
export type Partial<T> = { [K in keyof T]?: T[K] }
|
|
export type Dictionary<T> = { [key: string]: T };
|
|
|
|
export type Index = string | symbol | number;
|
|
|
|
export interface DOMEvent<TTarget extends EventTarget> extends Event {
|
|
target: TTarget;
|
|
}
|