Answer the question
In order to leave comments, you need to log in
How to inherit from interface CSSStyleDeclaration new and make all fields optional?
TS already has a CSSStyleDeclaration interface with a bunch of fields, all of which are required. Is there a way to make a duplicate of some short record in which all fields become optional. Or is the only option to just copy the entire code and replace the conditional border: string with border?: string
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question