Skip to content

Commit 195ccf2

Browse files
author
Ives van Hoorne
committed
Fetch dependency typings immediately for ts projects
1 parent eafb0d8 commit 195ccf2

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/components/CodeEditor/Monaco

1 file changed

+1
-1
lines changed

packages/app/src/app/components/CodeEditor/Monaco/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class MonacoEditor extends React.Component<Props, State> implements Editor {
195195
setTimeout(() => {
196196
this.fetchDependencyTypings(dependencies);
197197
this.getConfigSchemas();
198-
}, 5000);
198+
}, this.hasNativeTypescript() ? 0 : 5000);
199199
}
200200
}
201201

0 commit comments

Comments
 (0)