Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

state typescript

import { Student } from "../../@models/student";

export {};
declare global {
  interface studentState {
    student: Student[];
    loading?: boolean;
    searchData: Student[];
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #state #typescript
ADD COMMENT
Topic
Name
6+9 =