An open API service indexing awesome lists of open source software.

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

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
```