gpt4 book ai didi

geolocation - ionic @ionic-native/geolocation 添加提供商问题

转载 作者:行者123 更新时间:2023-12-01 13:15:29 27 4
gpt4 key购买 nike

Type 'GeolocationOriginal' is not assignable to type 'Provider'. Type 'GeolocationOriginal' is missing the following properties from type 'FactoryProvider': provide, useFactory

最佳答案

更改导入代码。

import { Geolocation } from '@ionic-native/geolocation';

import { Geolocation } from '@ionic-native/geolocation/ngx';

//对于 ionic 4

关于geolocation - ionic @ionic-native/geolocation 添加提供商问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55567581/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com