Replies: 1 comment
-
I have never seen A For more information visit Triple-Slash Directives. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
For importing SVG appropriately, I had to update
// / <reference types="react-scripts" />
to/// <reference types="react-scripts" />
on react-app-env.d.ts(Ref : https://stackoverflow.com/questions/44717164/unable-to-import-svg-files-in-typescript/61839578#61839578)
/// (triple-slash-reference-types) directives are as an import for declaration packages.
I would like to know the difference between
// / <reference types="react-scripts" />
and/// <reference types="react-scripts" />
on react-app-env.d.ts.Beta Was this translation helpful? Give feedback.
All reactions