| 1 | function foo() { |
| 2 | return 1; |
| 3 | } |
| 4 | |
| 5 | const a = 100; |
| 6 | |
| 7 | const spec: Fig.Spec = { |
| 8 | name: "foo", |
| 9 | description: "A simple description", |
| 10 | options: [{ name: "-a" }], |
| 11 | subcommands: [{ name: "bar", displayName: "barbar" }, { name: "foo" }], |
| 12 | }; |
| 13 | |
| 14 | function bar() { |
| 15 | return "hello"; |
| 16 | } |
| 17 | |
| 18 | export default spec; |
| 19 | |
| 20 | function zoo() { |
| 21 | return {}; |
| 22 | } |