Skip to content

Commit 07ba62f

Browse files
committed
fix: default ts option object
1 parent 96010b9 commit 07ba62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/transformers/typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const importTransformer: ts.TransformerFactory<ts.SourceFile> = (context) => {
5656
const transformer: Transformer<Options.Typescript> = ({
5757
content,
5858
filename,
59-
options,
59+
options = {},
6060
}) => {
6161
// default options
6262
const compilerOptionsJSON = {

0 commit comments

Comments
 (0)