I\'ve redefined (extended) some class, loaded from npm, and appended types definitions, but for some reason my definitions have lower priority than the definitions from node