Skip to content

Commit

Permalink
fix: revert #4
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Feb 17, 2023
1 parent ec41473 commit 00a1ef0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/typescript/src/getProgram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ export function getProgram(
}
return target[property];
},
set: (_target, property, newValue) => {
const program = getProgram();
(program as any)[property] = newValue;
return true;
},
// commented out because it causes https://github.com/vuejs/language-tools/issues/2403
// set: (_target, property, newValue) => {
// const program = getProgram();
// (program as any)[property] = newValue;
// return true;
// },
});

function getProgram() {
Expand Down

0 comments on commit 00a1ef0

Please sign in to comment.