xiaoxiangmoe/typescript-macros

TODOs

xiaoxiangmoe opened this issue · 0 comments

  • basic example of macros
  • example of converting type to runtime value
  • tslint + prettier
  • support babel-plugin-macros and typescript-macros in a single package(see: kentcdodds/babel-plugin-macros#94 (comment) )
  • support macros which is '.ts' file (require ts file and compile it in memory,for example: import foo from '../../utils/foo.tsmacro')
  • TypeScript language service plugin for tsmacros
  • document
  • adapt ts-loader TypeStrong/ts-loader#860
  • unit test (waiting for this issue: kulshekhar/ts-jest#899 )
  • ci (wating for unit test)
  • cd (wating for github actions for public repos)

Maybe it allow users to define macros in non-macro file(such as util/a.ts ) in the future.