Skip to content

Commit 1ae67fb

Browse files
chore(transpile): fix types, allow implicit any
1 parent edc3802 commit 1ae67fb

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/jco-transpile/src/opt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export async function runOptimizeComponent(
9191
// organize components in modules into tree parent and children
9292
const nodes = componentMetadata.slice(1);
9393
const getChildren = (parentIndex: number) => {
94-
const children = [];
94+
const children: EnhancedModuleMetadata[] = [];
9595
for (let i = 0; i < nodes.length; i++) {
9696
const metadata = nodes[i];
9797
if (metadata.parentIndex === parentIndex) {

packages/jco-transpile/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"types": ["node"],
77
"module": "nodenext",
88
"moduleResolution": "nodenext",
9+
"noImplicitAny": false,
910
"strict": true,
1011
"declaration": true,
1112
"sourceMap": true

0 commit comments

Comments
 (0)