microsoft / microsoft/TypeScript

Perhaps there is an incorrect test directive in `useStrictLikePrologueString01`

Aperta
#64,198 1 commento 2 reazioni 2 assegnatari Vedi su GitHub

@RyanCavanaugh ci sta già lavorando.

Dal 8/9/2026.

  • #64200 di @copilot-swe-agent — aperta
Infrastructure
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
2g 4h
PR unite (30g)
132

Descrizione

### Acknowledgement

- [x] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

### Comment

In `tsc/testdata/tests/cases/compiler/useStrictLikePrologueString01.ts`:

```ts
//@target: commonjs
//~~~~~~~~~~~~~~ The real meaning here may be `@module: commonjs`
//@target: es5, es2015

"hey!"
" use strict "
export function f() {
}
```

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.