ionic-team / ionic-team/capacitor-google-maps

Interface 'GoogleMapConfig' incorrectly extends interface 'MapOptions'.

Open
#62 4 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
32
Forks
47
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

[ng] Error: node_modules/@capacitor/google-maps/dist/typings/definitions.d.ts:117:18 - error TS2430: Interface 'GoogleMapConfig' incorrectly extends interface 'MapOptions'.
[ng] Types of property 'styles' are incompatible.
[ng] Type 'MapTypeStyle[] | null | undefined' is not assignable to type 'MapTypeStyle[] | undefined'.
[ng] Type 'null' is not assignable to type 'MapTypeStyle[] | undefined'.
[ng] 117 export interface GoogleMapConfig extends google.maps.MapOptions {

### Capacitor Version
@capacitor/android: not installed
@capacitor/ios: not installed
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0

```
PASTE OUTPUT HERE
```

### Platform(s)

### Current Behavior

### Expected Behavior

### Code Reproduction

### Other Technical Details

### Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.