microsoft / microsoft/TypeScript

Perhaps there is an incorrect test directive in `useStrictLikePrologueString01`

Open
#64,198 1 comment 2 reactions 2 assignees View on GitHub

@RyanCavanaugh is already working on this.

Since Sep 8, 2026.

  • #64200 by @copilot-swe-agent — open
Infrastructure
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

### 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() {
}
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.