3 ms·
Common prefix or suffix? I know in the RxJS community it's not uncommon to suffix an Observable variable like `fooBar$`
by wldcordeiro 10y ago
Common prefix or suffix? I know in the RxJS community it's not uncommon to suffix an Observable variable like `fooBar$`
- smt88 10y agoI think that would be more trouble than it's worth. Since "any" is a keyword, you wouldn't even need regex to search for it. Something like this would work: " = any" This would only show types that are aliases of the "any" type. As a side note, the following would create a compiler error ("cannot find name 'any'") because types are metadata and can't be used as program data. const something = any;
- Sharlin 10y agoHeh, sure does bring memories of the C64 BASIC where string-typed variables and functions were marked with a $ suffix :)