File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/notebooks/deepnote/integrations Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ import {
1111 INTEGRATION_TYPE_TO_DEEPNOTE ,
1212 IntegrationConfig ,
1313 IntegrationStatus ,
14- IntegrationWithStatus
14+ IntegrationWithStatus ,
15+ RawIntegrationType
1516} from '../../../platform/notebooks/deepnote/integrationTypes' ;
1617
1718/**
@@ -312,7 +313,7 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
312313
313314 // Build the integrations list from current integrations
314315 const projectIntegrations : ProjectIntegration [ ] = Array . from ( this . integrations . entries ( ) )
315- . map ( ( [ id , integration ] ) => {
316+ . map ( ( [ id , integration ] ) : ProjectIntegration | null => {
316317 // Get the integration type from config or integration metadata
317318 const type = integration . config ?. type || integration . integrationType ;
318319 if ( ! type ) {
@@ -321,7 +322,7 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
321322 }
322323
323324 // Map to Deepnote integration type
324- const deepnoteType = INTEGRATION_TYPE_TO_DEEPNOTE [ type ] ;
325+ const deepnoteType : RawIntegrationType | undefined = INTEGRATION_TYPE_TO_DEEPNOTE [ type ] ;
325326 if ( ! deepnoteType ) {
326327 logger . warn ( `IntegrationWebviewProvider: Cannot map type ${ type } for integration ${ id } , skipping` ) ;
327328 return null ;
You can’t perform that action at this time.
0 commit comments