-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Task] #58, clean up react learn files
- Loading branch information
1 parent
0d2bbbe
commit 49c6d81
Showing
8 changed files
with
5 additions
and
244 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
declare module "*.module.css"; | ||
declare namespace client { | ||
interface Contact { | ||
id: string; | ||
name: string; | ||
email: string; | ||
phone: string; | ||
hobby?: string; | ||
} | ||
|
||
interface ContactProps { | ||
contact: Contact; | ||
} | ||
|
||
interface Contacts { | ||
contacts: Contact[]; | ||
dispatch?: (state: Contacts, action: string) => void; | ||
} | ||
|
||
interface ProviderProps { | ||
children?: React.ReactNode; | ||
} | ||
} | ||
|
||
|