Is it possible to have both typescript and javascript files in one angular project?
I have a rather large project in angular and I want to port it to typescript without renaming all the files in .ts and fixing bugs. Is it possible to have only one part of an angular application written in typescript and the other in javascript?
Yes, maybe with the last flag --allowjs in typescript 1.8. You can modify your tsconfig.json to include it as follows:
{ "compilerOptions": { "allowJs": true } }
See the roadmap for more information: Typescript 1.8 , namely here: link
Source: https://habr.com/ru/post/1243153/More articles:How to decode only part of mp3 for use with WebAudio API? - javascriptHow to make unminify packages and list individual files when using a static content server without cookies? - asp.netAlgolia instantsearch.js initial search options - javascriptWindows Cordova / Ionic white screen application after release - windowsFiltering Jersey Jackson JsonMappingException data in a collection - jsonAlign JavaFX tags in GridPane - alignmentCaffe does not take pictures on SIGINT - deep-learningES6: import many files - javascriptCalling the parent constructor when initializing a subclass in Swift - swiftDoze mode / Standby application while playing audio - androidAll Articles