-
This shouldn't crash
```ts
// @emitDecoratorMetadata
// @experimentalDecorators
// @showEmit
// @showEmittedFile: component.js
// @filename: service.ts
export class Service {}
// @filen…
-
**Improvement Idea:**
```
// @emitDecoratorMetadata
// @experimentalDecorators
// @showEmit
// @filename: service.ts
export class Service {}
// @filename: component.ts
import type { Servic…
-
**Improvement Idea:**
https://github.com/microsoft/TypeScript-Website/blob/a21551b6febd4f13f686a407c8695f027ae65add/packages/typescriptlang-org/src/style/globals.scss#L31
https://github.co…
-
**Improvement Idea:**
```ts
const express = require('express')
const app = express()
app.get('/', function (req, res) {
res.se/*** @completions */
})
app.listen(3000)
```
…
-
We want to provide better tools for providing reproductions of TypeScript bugs in issues. In an issue we really only have text to work with, so we need some kind of text representation of a TypeScript…
-
**Improvement Idea:**
![Screen Shot 2020-05-08 at 1 25 35 PM](https://user-images.githubusercontent.com/49038/81431610-6871cb80-912f-11ea-8b20-cced53478b7d.png)
-
If you go from the last edit to the first, you don't have to worry about the indexes changing.
-
**TypeScript Version:** 3.8.3
**Search Terms:**
nullish coalescing in js files
**Code**
![image](https://user-images.githubusercontent.com/9967995/79052064-7a4d7500-7c3c-11ea-9be5-5…
-
**Page URL:**
https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions
**Issue:**
```pre
let strLength: number = (someValue).length;
```
should ne
```pr…
-
**Page URL:** https://www.typescriptlang.org/v2/docs/handbook/typescript-from-scratch.html
**Issue:** Text says `Here’s the error TypeScript found` but there is no error displayed after the…