Skip to content

Nuget Packages - TSC 1.8 is not preferred to Typescript tooling (TSC 1.7.6) #6715

Closed
@snerks

Description

@snerks

In a VS2015 Typescript HTML App, if I reference the Nuget packages for the 1.8 Typescript compiler and MSBuild Tasks, does the 1.8 TSC compiler in the Nuget package get used in preference to the version associated with the VS2015 Typescript tooling (1.7.6)?

I'm seeing that an attempt to reference a Stateless Functional Component (as shown in the SimpleGreeter example in the release notes) in (say) an App.tsx file, I still get the TSC 1.7 compiler "error":

Error TS2605 JSX element type 'Element' is not a constructor function for JSX elements.

Property 'render' is missing in type 'Element'.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issueVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions