(name: string)
| 53 | } |
| 54 | |
| 55 | function makeValidModuleName(name: string) { |
| 56 | if (name.match(/^[^a-z_]/gi) !== null) { |
| 57 | name += '_' + name; |
| 58 | } |
| 59 | return name.replace(/[^a-z0-9_]/gi, '_'); |
| 60 | } |
| 61 | |
| 62 | const CONSTRUCTOR_NAME = '__ctor__'; |
| 63 |
no test coverage detected