Skip to content

Commit fd4e37f

Browse files
committed
fix: HTTPTileDataSource inheritance
1 parent da8c0dd commit fd4e37f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/datasources/http.android.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { HTTPTileDataSourceOptions } from './http';
2-
import { DataSource } from '.';
2+
import { TileDataSource } from '.';
33
import { nativeProperty } from '../index.common';
44

5-
export class HTTPTileDataSource extends DataSource<com.carto.datasources.HTTPTileDataSource, HTTPTileDataSourceOptions> {
5+
export class HTTPTileDataSource extends TileDataSource<com.carto.datasources.HTTPTileDataSource, HTTPTileDataSourceOptions> {
66
@nativeProperty({
7-
nativeGetterName: 'isTMSScheme'
7+
nativeGetterName: 'isTMSScheme',
88
})
99
TMSScheme: boolean;
1010
@nativeProperty maxAgeHeaderCheck: boolean;

src/datasources/http.ios.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { HTTPTileDataSourceOptions } from './http';
2-
import { DataSource } from '.';
2+
import { TileDataSource } from '.';
33
import { nativeProperty } from '../index.common';
44

5-
export class HTTPTileDataSource extends DataSource<NTHTTPTileDataSource, HTTPTileDataSourceOptions> {
5+
export class HTTPTileDataSource extends TileDataSource<NTHTTPTileDataSource, HTTPTileDataSourceOptions> {
66
@nativeProperty({
7-
nativeGetterName: 'isTMSScheme'
7+
nativeGetterName: 'isTMSScheme',
88
})
99
TMSScheme: boolean;
1010
@nativeProperty maxAgeHeaderCheck: boolean;

0 commit comments

Comments
 (0)