This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
Red file names in VS Code? #95
Closed
Description
Whenever I open a file in VS Code I'm getting warnings/red text, which is really difficult to ignore. It seems to be caused by the first line import React from 'react'
, which is showing the error [ts] Module '"d:/Dev/stardust-react/node_modules/@types/react/index"' has no default export.
.
Changing the first line of the file to import * as React from 'react'
does fix it. Is this an acceptable change to make in the files I'm working in?
Metadata
Metadata
Assignees
Labels
No labels