Skip to content

Commit

Permalink
adds back define for path and dts
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd committed Mar 7, 2024
1 parent f6fa522 commit 5adca49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/types-fixup.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const componentProps = [
['enabled', 'boolean']
];

path = './types/framework/components/component.d.ts';
dts = fs.readFileSync(path, 'utf8');
let path = './types/framework/components/component.d.ts';
let dts = fs.readFileSync(path, 'utf8');
dts = dts.replace(regexConstructor, '$&\n' + getDeclarations(componentProps));
fs.writeFileSync(path, dts);

Expand Down

0 comments on commit 5adca49

Please sign in to comment.