mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24: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;
|
||
|
```
|