Closed HonzaTuron closed 2 years ago
Describe the bug I'm using auto typings in combination with @monaco-editor/react, and my AutoTypings create config is following:
@monaco-editor/react
await AutoTypings.create(editor, { sourceCache: new LocalStorageCache(), monaco, versions: { apify: '2.3.2' }, preloadPackages: true });
So I would expect apify@2.3.2 is downloaded, but instead, latest apify@3.0.1 is downloaded (and cached).
apify@2.3.2
apify@3.0.1
To Reproduce Set different major version for any package, try to fetch its types
Expected behavior Different version types is fetched
Environment (please complete the following information): React 17.0.2 /w CRA
monaco-editor-auto-typings
0.4.2
Thank you for your contribution!
Describe the bug I'm using auto typings in combination with
@monaco-editor/react
, and my AutoTypings create config is following:So I would expect
apify@2.3.2
is downloaded, but instead, latestapify@3.0.1
is downloaded (and cached).To Reproduce Set different major version for any package, try to fetch its types
Expected behavior Different version types is fetched
Environment (please complete the following information): React 17.0.2 /w CRA
monaco-editor-auto-typings
Version:0.4.2