TypeScript


Table of Contents

TODO 🙃

Simple Types

Using a type alias

type Foo = string | (() => string);

Interfaces

interface Dog {
    bark: Function;
    name: string;
}
Made with Gatsby G Logo