React interface definition method

export interface ProviderProps {
    /**
     * The single Redux store in your application.
     */
     
     //
    store?: Store<any>;
    children?: ReactNode;
}
Mar.02,2021

store is optional and the type is Store


export interface ProviderProps {
    /**
     * The single Redux store in your application.
     */
     
     //
    store?: Store<any>;
    children?: ReactNode;
}

ProviderProps is the interface for typescript to define data types
Store < > means to tell typescript not to detect, but to be checked by the programmer himself, and any indicates any value
ReactNode represents the react element

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35d16-2bff1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35d16-2bff1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?