Initial commit from Create Next App
This commit is contained in:
10
interfaces/index.ts
Normal file
10
interfaces/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// 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
|
||||
}
|
Reference in New Issue
Block a user