mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05: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;
|
||
|
```
|