Skip to content

Commit 9646f98

Browse files
fix: definition of NgxMapboxGLModule so it works with Angular 10
Co-authored-by: Dmytro Gokun <dmytro-gokun@users.noreply.github.com>
1 parent bb5ef5c commit 9646f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ngx-mapbox-gl/src/lib/ngx-mapbox-gl.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ import { VideoSourceComponent } from './source/video-source.component';
8181
],
8282
})
8383
export class NgxMapboxGLModule {
84-
static withConfig(config: { accessToken: string; geocoderAccessToken?: string }): ModuleWithProviders {
84+
static withConfig(config: { accessToken: string; geocoderAccessToken?: string }): ModuleWithProviders<NgxMapboxGLModule> {
8585
return {
8686
ngModule: NgxMapboxGLModule,
8787
providers: [

0 commit comments

Comments
 (0)