monaco-definition-provider - v2.0.0
    Preparing search index...

    Function commonRoot

    • Heuristic workspace root for absolute Python imports: the longest common directory prefix of the given model URIs. Hosts with non-trivial layouts should supply the resolveModuleUri hook instead.

      Parameters

      • uris: string[]

      Returns string | null