Identifying dependencies between classes is an essen-tial activity when maintaining and evolving software applications.It is also known that JavaScript developers often use classes tostructure their projects. This happens even in legacy code, i.e.,code implemented in JavaScript versions that do not providesyntactical support to classes. However, identifying associationsand other dependencies between classes remain a challenge dueto the lack of static type annotations. This paper investigates theuse of type inference to identify relations between classes in legacyJavaScript code. To this purpose, we rely on Flow, a state-of-the-art type checker and inferencer tool for JavaScript. We performa study using code with and without annotating the c...