Calling JavaScript directly from TypeScript

前端 未结 4 933
Happy的楠姐
Happy的楠姐 2020-12-06 16:21

I have just downloaded the TypeScript documentation. I have a some JavaScript classes and I would like to create and use these class in a TypeScript test application

4条回答
  •  攒了一身酷
    2020-12-06 16:45

    You just do it. TypeScript won't stop you. You will see warnings in the compiler output but tsc will generate your JS file just fine.

提交回复
热议问题