jackmerrill.com/interfaces/index.ts
2021-03-31 00:27:36 -05:00

11 lines
270 B
TypeScript

// You can include shared interfaces/types in a separate file
// and then use them in any component by importing them. For
// example, to import the interface below do:
//
// import { User } from 'path/to/interfaces';
export type User = {
id: number
name: string
}