Hotfix of type

For the lesson Interfaces, Types and Union, 6:30
Anonymous
typescript
12/09/2021 5:26 AM
176 B
22
Indexable
type BasicUser1<A = boolean, P = string> = {
  name: string;
  surname: string;
  age: number;
  isAdmin: A;
  permissions?: P[];
};
Editor is loading...