mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
refactor(slides): fix typings issue, add TODO to fix it later
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { Component, Element, Event, EventEmitter, Method, Prop, PropDidChange } from '@stencil/core';
|
||||
import { Swiper } from './vendor/swiper.js';
|
||||
import { SwiperOptions } from './vendor/swiper';
|
||||
// import { SwiperOptions } from './vendor/swiper'; // TODO
|
||||
|
||||
@Component({
|
||||
tag: 'ion-slides',
|
||||
@ -88,7 +88,7 @@ export class Slides {
|
||||
* Options to pass to the swiper instance.
|
||||
* See http://idangero.us/swiper/api/ for valid options
|
||||
*/
|
||||
@Prop() options: SwiperOptions;
|
||||
@Prop() options: any; // SwiperOptions; // TODO
|
||||
|
||||
@PropDidChange('options')
|
||||
updateSwiperOptions() {
|
||||
|
Reference in New Issue
Block a user