mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(): changed slides so that it is using the default import.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import * as Swiper from 'swiper';
|
|
||||||
import { Component, h, Ionic, Prop } from '../index';
|
import { Component, h, Ionic, Prop } from '../index';
|
||||||
|
import Swiper from 'swiper';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Slides
|
* @name Slides
|
||||||
@ -32,7 +32,7 @@ import { Component, h, Ionic, Prop } from '../index';
|
|||||||
shadow: false
|
shadow: false
|
||||||
})
|
})
|
||||||
export class Slides {
|
export class Slides {
|
||||||
swiper: Swiper;
|
swiper: any;
|
||||||
$el: HTMLElement;
|
$el: HTMLElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowUnreachableCode": false,
|
"allowUnreachableCode": false,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
Reference in New Issue
Block a user