https://github.com/sohanemon/vromon-kabyo-client
A website that helps the traveler to make a happy tour
https://github.com/sohanemon/vromon-kabyo-client
firebase react typescript
Last synced: 2 months ago
JSON representation
A website that helps the traveler to make a happy tour
- Host: GitHub
- URL: https://github.com/sohanemon/vromon-kabyo-client
- Owner: sohanemon
- Created: 2022-10-29T09:14:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T07:33:41.000Z (over 3 years ago)
- Last Synced: 2025-03-05T01:41:53.515Z (over 1 year ago)
- Topics: firebase, react, typescript
- Language: TypeScript
- Homepage: https://vromonkabyo.web.app
- Size: 78.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### If something occurs like undefined is not assignable to 'SoType'.
> make the parameter as optional to overcome.
```js
export interface PlaceType {
name?: string;
id: string;
description?: string;
thumbnail?: string;
// this will show error if we do not pass the id argument
}
```
### Optional Chaining with objects and function
```js
object_name?.prop1?.prop2?.value;
// if object_name exist then go to prop1 and so on
```
```js
functionDisplay?.();
// if functionDisplay exist then call '()' it
```