Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
33 lines (21 loc) · 719 Bytes

File metadata and controls

33 lines (21 loc) · 719 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Types

A type refers to a class of data and the operations permitted on that class of data. The following built-in types are supported for the @boardname@:

Basic (primitive) types #primitives

  • Number: an integer number (32-bit signed)
  • String: a sequence of characters
  • Boolean: true or false

Complex types #complex

  • Array: a list of items of a primitive type

Functions

  • Function: code you can reuse anywhere in a program

#custom

User data

TypeScript allows you to create user-defined classes of data.

class Foo {
    public bar: number;
    baz() {

    }
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.