Use transform function from @astrojs/compiler npm package to compile .astro file content into typescript. TypeScript's code should follow project standards.
Requirements & subtasks:
- There's no type errors in output of astro compiler
- There's no import errors
- All properties for astro compiler are passed properly
- Code is design under future implementation in .astro webpack loader
- Added JSDoc/TSDoc comments to all properties/variables/functions/types
- It works even when we import other component from other file into our main astro file
Use
transformfunction from@astrojs/compilernpm package to compile .astro file content into typescript. TypeScript's code should follow project standards.Requirements & subtasks: