Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

type argument optional typescript

// Optional type parameters
private logData<T, S = {}>(operation: string, responseData: T, requestData?: S) {
  // your implementation here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type #argument #optional #typescript
ADD COMMENT
Topic
Name
4+5 =