(fileName: string)
| 33 | } |
| 34 | |
| 35 | readFile(fileName: string): string { |
| 36 | const data = this.getEntry(fileName); |
| 37 | if (typeof data === 'string') { |
| 38 | return data; |
| 39 | } |
| 40 | return undefined!; |
| 41 | } |
| 42 | |
| 43 | readResource(fileName: string): Promise<string> { |
| 44 | const result = this.readFile(fileName); |