File tree Expand file tree Collapse file tree 3 files changed +174494
-2
lines changed Expand file tree Collapse file tree 3 files changed +174494
-2
lines changed Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"github.com/clarkmcc/go-typescript/utils"
7
7
"github.com/clarkmcc/go-typescript/versions"
8
- _ "github.com/clarkmcc/go-typescript/versions/v4.7.2 "
8
+ _ "github.com/clarkmcc/go-typescript/versions/v4.9.3 "
9
9
"github.com/dop251/goja"
10
10
)
11
11
@@ -60,7 +60,7 @@ func NewDefaultConfig() *Config {
60
60
return & Config {
61
61
Runtime : goja .New (),
62
62
CompileOptions : nil ,
63
- TypescriptSource : versions .DefaultRegistry .MustGet ("v4.7.2 " ),
63
+ TypescriptSource : versions .DefaultRegistry .MustGet ("v4.9.3 " ),
64
64
ModuleName : "default" ,
65
65
}
66
66
}
Original file line number Diff line number Diff line change
1
+ package v4_9_3
2
+
3
+ import (
4
+ _ "embed"
5
+ "github.com/clarkmcc/go-typescript/versions"
6
+ )
7
+
8
+ //go:embed v4.9.3.js
9
+ var Source string
10
+
11
+ func init () {
12
+ versions .DefaultRegistry .MustRegister ("v4.9.3" , Source )
13
+ }
You can’t perform that action at this time.
0 commit comments