proposal-type-annotations
ECMAScript proposal for type syntax that is erased - Stage 1
File Explorer
- Deploy.yml
- OFL.txt
- PTSans-Bold.ttf
- PTSans-BoldItalic.ttf
- PTSans-Italic.ttf
- PTSans-Regular.ttf
- OFL.txt
- PTSerif-Bold.ttf
- PTSerif-BoldItalic.ttf
- PTSerif-Italic.ttf
- PTSerif-Regular.ttf
- favicon.png
- og-image.png
- components.jsx
- grammar-input.html
- server.js
- shiki-theme.json
- site.jsx
- style.scss
- tsconfig.json
- .gitignore
- package-lock.json
- package.json
- README.md
- grammar-ideas.md
- grammar.md
- syntax-comparison.md
- CODEOWNERS
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
interface
View Details ▼
interface
Manage interfaces.
Accessed in configuration mode.
interface vlan {{1}}
Configure a VLAN:
{{no shutdown|shutdown}}
Set an interface to be active or inactive (this is run inside the interface command):
declare
View Details ▼
declare
Declare variables and give them attributes.
declare {{variable}}="{{value}}"
Declare a string variable with the specified value:
declare -i {{variable}}="{{value}}"
Declare an integer variable with the specified value:
declare -a {{variable}}=({{item_a item_b item_c}})
Declare an array variable with the specified value:
readonly
View Details ▼
readonly
Set read-only shell variables.
readonly {{variable_name}}={{value}}
Set a read-only variable:
readonly {{existing_variable}}
Mark a variable as read-only:
readonly -p
[p]rint the names and values of all read-only variables to `stdout`:
strings
View Details ▼
strings
Find printable strings in an object file or binary.
strings {{path/to/file}}
Print all strings in a binary:
strings {{[-n|--bytes]}} {{n}} {{path/to/file}}
Limit results to strings at least n characters long:
strings {{[-t|--radix]}} d {{path/to/file}}
Prefix each result with its offset within the file:
tsc
View Details ▼
tsc
TypeScript compiler.
tsc --init
Initialize a TypeScript project:
tsc {{path/to/file.ts}}
Compile a TypeScript file into a JavaScript file with the same name:
tsc {{[-t|--target]}} {{ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...}} {{path/to/file.ts}}
Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`):
