Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

type usestate typescript

interface Provider {
  connected: boolean;
  type: string;
}
const [wearablesList, setWearablesList] = useState<Provider[]>([]);
Source by www.carlrippon.com #
 
PREVIOUS NEXT
Tagged: #type #usestate #typescript
ADD COMMENT
Topic
Name
2+8 =