Closed kaysonwu closed 4 years ago
I added next interface in my project
interface BrowserSpriteSymbol {
id: string;
viewBox: string;
content: string;
node: SVGSymbolElement;
}
@etozhkirill could you please make a PR with typings?
Do you want to request a feature, report a bug or ask a question?
question
What is the expected behavior?
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
When I introduced the svg file with
require
, I got aBrowserSpriteSymbol
type, but I don't know how to use it as a property type. Can you tell me? Thank you!