Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

types function typescript

interface Safer_Easy_Fix {
    title: string;
    callback: () => void;
}
interface Alternate_Syntax_4_Safer_Easy_Fix {
    title: string;
    callback(): void;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #types #function #typescript
ADD COMMENT
Topic
Name
7+1 =