Remco Haszing

Results 451 comments of Remco Haszing

TBH I disagree. The list of names/languages is known, so it’s good to get a type error when trying to import a file that doesn’t exist. The current file structure...

The original reason is that I intend to create types for a fork in another PR, which will essentially be a copy of these types. I noticed that these types...

I just came up with a similar situation. ([playground](https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAchBAdgQwMYQLQFMAmwM0A9LgM4gkBu5ZhxU9R0AdGmMAkA)) ```ts import 'monaco-editor/esm/vs/editor/editor.api' ``` As can be seen in `monaco-editor/esm/vs/editor/editor.api.d.ts` in the [npm code tab](https://www.npmjs.com/package/monaco-editor?activeTab=code) (I really wish npm had linkable...

I think this is also what @cojoclaudiu meant with https://github.com/import-js/eslint-plugin-import/issues/2669#issuecomment-1382716158, but it appears to be unrelated to that issue.

I would say an import of a closer file should be sorted later. My mental model distinguishes the following groups: Runtime builtin: - `bun:test` - `node:path` Dependencies: - `lodash` -...

> > this > > What does this refer to? _type safety_ > Solution: you list several ideas. Which are most important? Type checking to begin with. I think most...

> > For such cases emitting files is not really important, that would be mostly for libraries. > > Do you know of an example of a library that has...

I haven’t tried `ts-patch`. you can give it a try. At the moment Astro and Vue provide their own CLI for this. IMO this is suboptimal, because MDX is compatible...

PR welcome, even if it’s just a PoC. The `fixtures` directory contains some interesting fixtures you may want to use for (manual or integration) testing, or you could add your...

Let’s create a new package `mdx-tsc` (as part of this project) based on [`vue-tsc`](https://github.com/vuejs/language-tools/tree/master/packages/tsc). I think this package should be unscoped.