import { ConnectionType } from './connectionType'

interface TransportDefinition {
  info: {
    url: string
    protocols?: string[]
    type: ConnectionType
  }
}

declare module 'autobahn' {
  interface Connection {
    transport: TransportDefinition
    session: Session
  }
}

import { ConnectionType } from './connectionType'

interface TransportDefinition {
  info: {
    url: string
    protocols?: string[]
    type: ConnectionType
  }
}

declare module 'autobahn' {
  interface Connection {
    transport: TransportDefinition
  }
}

Remove session from autobahn type extension
Remove session from autobahn type extension