mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
20 lines
358 B
Markdown
20 lines
358 B
Markdown
|
# Documentation
|
||
|
|
||
|
The following block should be given a js extension on extraction:
|
||
|
|
||
|
```javascript
|
||
|
console.log("js");
|
||
|
```
|
||
|
|
||
|
The following example contains the ignore attribute and will be ignored:
|
||
|
|
||
|
```typescript ignore
|
||
|
const value: Invalid = "ignored";
|
||
|
```
|
||
|
|
||
|
The following example will trigger the type-checker to fail:
|
||
|
|
||
|
```typescript
|
||
|
const a: string = 42;
|
||
|
```
|