integer in a interface typescript code example
Example 1: typescript valueof interface
type ValueOf<T> = T[keyof T];
Example 2: export interface typescript
interface Props {}
export interface IRefered {
name: string
}
type ValueOf<T> = T[keyof T];
interface Props {}
export interface IRefered {
name: string
}