Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript convert readonly

type DeepWriteable<T> = { -readonly [P in keyof T]: DeepWriteable<T[P]> };
 
PREVIOUS NEXT
Tagged: #typescript #convert #readonly
ADD COMMENT
Topic
Name
4+6 =