Skip to content

Commit

Permalink
fix: Export d ts as a module (shaka-project#4163)
Browse files Browse the repository at this point in the history
Missing module export added
  • Loading branch information
cemsina authored Apr 26, 2022
1 parent 796aa6f commit feefd7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/generateTsDefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def GenerateTsDefs(inputs, output):
f.write(license_header)
f.write(b'\n')
f.write(contents)
f.write(b'\n')
f.write(b'export default shaka;\n')


def CreateParser():
Expand Down

0 comments on commit feefd7b

Please sign in to comment.