https://github.com/polyseam/deno-demo-obj-literal-error
https://github.com/polyseam/deno-demo-obj-literal-error
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/polyseam/deno-demo-obj-literal-error
- Owner: polyseam
- Created: 2024-07-10T21:09:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T00:47:31.000Z (almost 2 years ago)
- Last Synced: 2024-07-12T01:24:07.185Z (almost 2 years ago)
- Language: TypeScript
- Size: 708 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demonstrate Change to Deno Syntax Validation
## Resolved in Deno v1.45.0 ✅
We've discovered a destructive change in how typescript code is validated in
[deno](https://github.com/denoland/deno).
The change appears to have been introduced in deno version
[1.44.3](https://github.com/denoland/deno/releases/tag/v1.44.3) and is not
present in version
[1.44.2](https://github.com/denoland/deno/releases/tag/v1.44.2).
The error is presented as shown in this screenshot in Deno version 1.44.3:

## instructions
To reproduce the issue
1. Quit all running instances of VSCode
2. Install Deno [1.44.3](https://github.com/denoland/deno/releases/tag/v1.44.3)
```bash
deno upgrade --version 1.44.3
```
3. Open the [main.ts](./main.ts) file in VSCode and notice that the `dependsOn`
property is marked as invalid.
4. Install Deno [1.44.2](https://github.com/denoland/deno/releases/tag/v1.44.2)
```bash
deno upgrade --version 1.44.2
```
5. Quit all running instances of VSCode
6. Open the [main.ts](./main.ts) file in VSCode and notice that the `dependsOn`
property is not marked as invalid.