feature: Port emitter functions
Ported:
- IsEmitBlocked
- getSourceMapFilePath
- getDeclarationEmitOutputFilePath
- getDeclarationEmitOutputFilePathWorker
- ~~GetDeclarationEmitExtensionForPath~~
Added
- SetEmitBlocked
- BuildInfo struct for future usage
I'm not entirely convinced it's a good idea to port these functions now, when they aren't be used or tested, and may not actually be useful for future code.
They were marked as TODOs so I decided to port them. So should I keep only used ones? What about BuildInfo? Remove it as well?
@weswigham If you're nearing the completion of some dts emit, are the functions in this PR useful to you, or are you going to just do something from scratch?
Nah, only getDeclarationEmitOutputFilePath which I have a slightly different version of already. Nothing I'm working on needs any of the rest of these
Yeah, I'm not sure we need this PR right now, then.