Alexander J. Vincent

Results 148 issues of Alexander J. Vincent

Hey, guys. I'm wondering if the dom.js project can provide some contact information (or better yet, a newsgroup) for discussions about the project. I've had some thoughts, but I need...

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver The Map and WeakMap primordial has been part of ECMAScript (and thus JavaScript) for many years now. I'm reasonably certain that, among the browsers listed on the...

I very recently converted my project to use ES6 modules, and with NodeJS 14 (LTS), everything is fine: `npm test` running jasmine shows all my tests passing. Alas, I have...

I like `block()`, `quote()`, etc. But there are other pairings of tokens which are important: parentheses, square brackets, backticks for template strings, etc. Suggested code: ```typescript pairedWrite( startToken: string, endToken:...

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions

I ran into a case yesterday where I realized I may need to express an object as having a _non_-JSON-stringifiable value somewhere deep in it. Say: ```typescript export type Jsonifiable...

type addition

I've been rummaging around the ts-morph.com website for months, and I just keep wanting to see a reference directory on the structures ts-morph uses. Say, at `docs/references/structures`, I would like...

**Is your feature request related to a problem? Please describe.** See issues #758, #1311. Figuring out the implied fields of a MappedTypeNode is _hard_. As I explain in #1311, I...

**Describe the bug** Version: 21.0.1 I discovered this tonight, realizing we can't actually get any `ClassStaticBlockDeclarationStructure` objects via `ClassDeclarationNode.prototype.getStructure()`. This is one of a few structure types unreachable from a...

**Describe the bug** Version: 20.0.0 https://github.com/dsherret/ts-morph/blob/a90dc9118166ec484ea486a9d952c08d761dc6bc/packages/ts-morph/src/structures/interface/IndexSignatureDeclarationStructure.ts#L12 This is a place where a type field can't be a `WriterFunction`. Most others (`TypedNodeStructure`, `ReturnTypedNodeStructure`, etc.) can. **To Reproduce** Not applicable. Without the...