Ryan Cavanaugh
Ryan Cavanaugh
> We want these questions to be considered; not just assumed "hey new d.ts feature, upgrade and deal with it! or don't upgrade... or maybe use this other tool that...
@KostyaTretyak with only 15 upvotes in 2.5 years, removing the label would imply closing this based on how often people are encountering it
I test private or protected properties the same way I interact with them in normal usage - through their public interface, because private/protected members are an implementation detail that shouldn't...
@sandersn can this be accomplished with declaration merging today?
We'd like to gather some use cases on this. What do people want to use this for? There might be better solutions than conditional compilation depending on the application. We...
To be clear, "noImplicitAny" is not "noAny" ``` ts [Conditional('debug')] declare function debugPrint(s: string); var d = { n: debugPrint }; var x: any = d.n; // Legal even with...
If someone can make this work without making a bunch of other stuff (perf, maintainability, etc) worse they're free to send a PR, but we don't think that's possible.
If you have initializers then you have to decide something that I think has no correct answer. If you evaluate the initialization expression once during class setup and copy that...
@haggholm any reason to prefer `ts-ignore` over `public metadata!: IEncryptedJSONContainer` ?
These should both be errors -- `new error({ a: "" })` is a legal invocation that puts a string where a boolean is expected.