vscode-styled-components icon indicating copy to clipboard operation
vscode-styled-components copied to clipboard

No syntax and highlight when using namespaces for types of the props

Open mrdoinel opened this issue 2 years ago • 0 comments

Description No syntax and highlight when using namespace for types of the props (for example types are like that : Namespace.InterfaceOrTypename)

Screenshot

Capture d’écran 2023-03-27 à 10 27 03

To Reproduce
Create a typescript declaration file with namespace in your codebase.

declare namespace Namespace {
  interface HeadingProps {
    primary?: boolean;
    title: string;
  }
}

namespace.d.ts

Expected behavior
Full support of Typescript with this extension

Build environment :

  • OS: Mac OS 12.6
  • VSCode Version: 1.76.1
  • Extension Version v1.7.5

mrdoinel avatar Mar 27 '23 08:03 mrdoinel