microsoft / microsoft/TypeScript
Perhaps there is an incorrect test directive in `useStrictLikePrologueString01`
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.