Nayeem Rahman

Results 37 issues of Nayeem Rahman

~~Not for merging, debugging flaky test on windows fast ci~~ Resolves issue in #15231.

Fixes #15266. The diagnostic should only be given when the suggested map key is a bare specifier. Applying it to relative specifiers is too opinionated as to which of the...

A useful feature of `make` is that it builds the first target when you don't specify any. `deno task` should do the same. This should typically be the `start`/`serve` task....

suggestion
task runner

The following code currently outputs: ```ts console.log(await Deno.emit("https://deno.land/[email protected]/testing/asserts.ts")); ``` ```js { // ... files: { "https://deno.land/[email protected]/testing/asserts.ts.js": 'import { bold, gray, green, red, stripColor, white } from "../fmt/colors.ts";\nimport { diff, DiffTyp...',...

suggestion
public API

Even accepting using 'emit' for the name of the repo as an umbrella term, it makes no sense to call the function for transpiling that.

suggestion

There exists `TS2822 [ERROR]: Import assertions cannot be used with type-only imports or exports.`, so we shouldn't check assertions for type-only imports. https://github.com/denoland/deno/issues/14913

Fixes #136. Also generally makes the first occurrence (rather than the last) take priority for duplicate imports.

```ts // temp.ts import "./nonexistent.ts"; await import("./nonexistent.ts"); ``` `deno cache temp.ts` gives no error, since the last import was dynamic and overrides `Dependency::is_dynamic`.