David Sherret

Results 448 issues of David Sherret

```ts nameof(15n); // goes to "15n" ``` Kind of useless, but it should be supported.

enhancement

Pretty sure this won't work properly right now since it converts to a number then back to a string: ```ts nameof(5646.64); nameof(0o10); // should output "5646.64" "0o10" ``` Not that...

bug

This is to properly support ts-jest. See here: https://github.com/dsherret/ts-nameof/issues/51#issuecomment-479011080

bug
enhancement

Right now the following is not allowed: ```ts nameof(p => p.getDirectory()) ``` The user must provide: ```ts nameof(p => p.getDirectory) ``` The error message says `Error: [ts-nameof]: Could not resolve...

enhancement

I've noticed several parts of the code referring to type arguments as type parameters. What's the reason for using `typeParameters` here? Seems like there might be some temporary stuff going...

enhancement
question
package: typescript-estree
AST
blocked by external API

Also, the implementation should be improved to not be so fragile. There's probably a better implementation (ex. should this look at base types?).

enhancement
breaking change

It would be a lot simpler to just be deno first and then distribute the code using https://github.com/denoland/dnt to npm. The main issue is that I need to implement #950...

Proposal for a new `Node#getChildrenWithComments()` and new way of parsing comment members & statements. Demo: https://ts-ast-viewer.com/comments/index.html# For #737. Note: I do not bother following [RFC 2119](http://www.hjp.at/doc/rfc/rfc2119.txt) for these, but I...

https://stackoverflow.com/questions/72241016/how-to-access-flownode-in-typescript-ast-api

enhancement