UNPKG

486 BTypeScriptView Raw
1import TokenProcessor from "../TokenProcessor";
2import Transformer from "./Transformer";
3export default class ReactHotLoaderTransformer extends Transformer {
4 readonly tokens: TokenProcessor;
5 readonly filePath: string;
6 private extractedDefaultExportName;
7 constructor(tokens: TokenProcessor, filePath: string);
8 setExtractedDefaultExportName(extractedDefaultExportName: string): void;
9 getPrefixCode(): string;
10 getSuffixCode(): string;
11 process(): boolean;
12}