We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2294611 commit 797181cCopy full SHA for 797181c
scripts-sample.ts renamed to README.md
@@ -1,3 +1,17 @@
1
+## Instrucions
2
+* Download the executable or the main.go and add a scripts.ts file in the same directory.
3
+* Run the program with the following potential flags: `typescript2javascript.exe -minify`
4
+```
5
+-file string
6
+ Path to the TypeScript file. (default "scripts.ts")
7
+-minify
8
+ Minify the JavaScript output.
9
+-stream int
10
+ File streaming minimum threshold in megabytes. (default 10)
11
12
+
13
+## Sample TypeScript content
14
+```typescript
15
// Define an interface for a Person
16
interface Person {
17
firstName: string;
@@ -39,3 +53,4 @@ console.log(student.greet());
39
53
40
54
// Call the getStudentId method
41
55
console.log(`My student ID is ${student.getStudentId()}.`);
56
0 commit comments