File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/app/src/app/overmind/effects/vscode/SandboxFsSync Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import {
11
11
Sandbox ,
12
12
SandboxFs ,
13
13
} from '@codesandbox/common/lib/types' ;
14
- import { isAbsoluteVersion } from '@codesandbox/common/lib/utils/dependencies' ;
15
14
import { getGlobal } from '@codesandbox/common/lib/utils/global' ;
16
15
import { protocolAndHost } from '@codesandbox/common/lib/utils/url-generator' ;
17
16
import { getSavedCode } from 'app/overmind/utils/sandbox' ;
@@ -364,8 +363,7 @@ class SandboxFsSync {
364
363
if (
365
364
autoInstallTypes &&
366
365
this . typesInfo [ dep . name ] &&
367
- ! dep . name . startsWith ( '@types/' ) &&
368
- isAbsoluteVersion ( dep . version )
366
+ ! dep . name . startsWith ( '@types/' )
369
367
) {
370
368
const name = `@types/${ dep . name } ` ;
371
369
this . fetchDependencyTypingFiles ( name , this . typesInfo [ dep . name ] . latest )
You can’t perform that action at this time.
0 commit comments