Da un tweet di Scott Hanselman (https://twitter.com/shanselman/status/1699655960875434140 ) ecco che ritorno a parlare di Typescript, dando alcune indicazioni per poterlo utilizzare anche in progetti Blazor.


https://www.npmjs.com/package/@types/blazor__javascript-interophttps://www.nuget.org/packages/Microsoft.TypeScript.MSBuild/
tsconfig.json:
{
"compilerOptions": {
"module": "es6",
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"moduleResolution": "node",
"target": "es5"
},
"exclude": [
"node_modules",
"wwwroot"
]
}

Twitter Mentions