Skip to content

Commit

Permalink
update to TS 3.2 and remove esnext (bigint problems)
Browse files Browse the repository at this point in the history
  • Loading branch information
olmobrutall committed Dec 7, 2018
1 parent dc2a3d6 commit 9552afc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Signum.React/Signum.React.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TypeScriptToolsVersion>3.1</TypeScriptToolsVersion>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TypeScriptToolsVersion>3.2</TypeScriptToolsVersion>
<LangVersion>latest</LangVersion>
<OutputType>Library</OutputType>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
Expand All @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.1.5">
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.2.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions Signum.React/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"baseUrl": ".",
"lib": [
"es2017",
"esnext",
//"esnext",
"dom"
]
},
"exclude": [ "node_modules" ]
}
}

1 comment on commit 9552afc

@olmobrutall
Copy link
Collaborator Author

@olmobrutall olmobrutall commented on 9552afc Dec 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to Typescript 3.2

  1. Install Typescript 3.2 from https://www.typescriptlang.org/#download-links
  2. Update/consilidate nuget Microsoft.Typescript.MSBuild to 3.2.1
  3. Remove "esnext" from tsconfig.json like in signumsoftware/southwind@7aee7c4 (because of lib.esnext.bigint.d.ts not found microsoft/TypeScript#28910)

Enjoy :)

Please sign in to comment.