Last active
August 4, 2022 17:00
-
-
Save thatcatcancode/0294aa9e16756d0397420862a8dad31d to your computer and use it in GitHub Desktop.
Examples of Typescript types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface Card { | |
title: string; | |
label: string | null; | |
description: string | null; | |
action: Action; | |
} | |
export interface Action { | |
title: string; | |
url: string; | |
style: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment