Skip to content

Commit

Permalink
Create lib.ts
Browse files Browse the repository at this point in the history
A @typescript of the file
  • Loading branch information
Mich5 authored Mar 22, 2021
1 parent 8a91ccf commit ac46309
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import edge from "edge-js";
import path from "node:path";

export default edge.func({
source: path.join(path.dirname(module.filename), 'office.cs'),
references: [
'C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Office.Interop.Word\\15.0.0.0__71e9bce111e9429c\\Microsoft.Office.Interop.Word.dll',
'C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Office.Interop.Excel\\15.0.0.0__71e9bce111e9429c\\Microsoft.Office.Interop.Excel.dll',
'C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Office.Interop.PowerPoint\\15.0.0.0__71e9bce111e9429c\\Microsoft.Office.Interop.PowerPoint.dll',
'C:\\Windows\\assembly\\GAC_MSIL\\Office\\15.0.0.0__71e9bce111e9429c\\Office.dll',
'C:\\Windows\\assembly\\GAC_MSIL\\Microsoft.Vbe.Interop\\15.0.0.0__71e9bce111e9429c\\Microsoft.Vbe.Interop.dll'
],
});

0 comments on commit ac46309

Please sign in to comment.