Silicon
  • Home
  • Documents
    • Data Types
    • Variables
    • Functions
    • Comments
    • Control Flow
    • Operators
    • Interfaces
    • Classes
    • Modules
  • Source Code
Powered by GitBook
On this page

Was this helpful?

  1. Documents

Interfaces

interface Name {
    first: string;
    last: string;
}

interface Person {
    name: Name;
    age: i32;
}

interface WithLicense {
    licensed: bool;
}

interface Doctor extends Person, WithLicense {
    field: string;
}
PreviousOperatorsNextClasses

Last updated 4 years ago

Was this helpful?