vscode-react-typescript
vscode-react-typescript copied to clipboard
Importing react and usage of interface
Hi, this is more a question rather than an issue. I was curious about why it was decided to go for
import * as React from 'react';
Instead of import React from 'react'
.
The other question is about the usage of interfaces rather than types. I know this is kind of "controvertial" but why it was decided to include one over the other.
Thanks in advance, the snippets are awesome.