ionic-team / ionic-team/demo-capacitor-mapbox

Error TS6133 when building capacitor-mapbox

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The following TypeScript error appears when building capacitor-mapbox:

```
> capacitor-mapbox@0.0.1 build
> npm run clean && tsc

> capacitor-mapbox@0.0.1 clean
> rimraf ./dist

src/web.ts:17:17 - error TS6133: 'location' is declared but its value is never read.

17 async openMap(location: { lat: number, long: number}): Promise {
~~~~~~~~

Found 1 error.

npm ERR! code 2
npm ERR! path /Users/idosius/IdeaProjects/demo-capacitor-mapbox/capacitor-mapbox
npm ERR! command failed
npm ERR! command sh -c npm run clean && tsc

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/idosius/.npm/_logs/2021-03-16T09_33_47_472Z-debug.log
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.