Skip to content

Commit c323ec4

Browse files
committed
Fix types
1 parent c2d6571 commit c323ec4

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

packages/app/src/sandbox/compile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function getDependencies(parsedPackage, templateDefinition, configurations) {
215215
if (configurations && configurations.babel && configurations.babel.parsed) {
216216
flatten(configurations.babel.parsed.presets || [])
217217
.filter(p => typeof p === 'string')
218-
.forEach(p => {
218+
.forEach((p: string) => {
219219
const [first, ...parts] = p.split('/');
220220
const prefixedName = p.startsWith('@')
221221
? first + '/babel-preset-' + parts.join('/')
@@ -227,7 +227,7 @@ function getDependencies(parsedPackage, templateDefinition, configurations) {
227227

228228
flatten(configurations.babel.parsed.plugins || [])
229229
.filter(p => typeof p === 'string')
230-
.forEach(p => {
230+
.forEach((p: string) => {
231231
const [first, ...parts] = p.split('/');
232232
const prefixedName = p.startsWith('@')
233233
? first + '/babel-plugin-' + parts.join('/')

standalone-packages/vscode-textmate/package-lock.json

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)